I have just finished adding support for [reassume].
Basically, [reassume] is used to make the implementation of an abstract type available in
another scope.
Here is a running example:
https://github.com/githwxi/ATS-Postiats/blob/master/doc/EXAMPLE/TESTATS/reassume.datsIn the following code, the implementation of int2_t0ype is made available
in the body of the function int2_add:
reassume int2_t0ype // making the implementation of int2_t0ype available
|
}
The feature of [reassume] comes especially handy when one wants to re-implement
function templates involving abstract types.
All the changes have been uploaded to the GitHub repo for ATS2. They will go into the
next release of ATS2 (ATS2-0.3.3).