[clean-list] suggestion for htoclean and arrays

Erik Zuurbier F.S.A.Zuurbier@inter.nl.net
Fri, 28 Dec 2001 13:04:18 +0100


>Now that htoclean can handle arrays I am trying to interface Lapack and
>Blas to Clean.
[snip]
>In Ocaml this is handled differently. In the Bigarray module there are
>explicit functions to construct sub-arrays. However, it seems to me that
>this could be incompatible with Clean's uniqueness types.

You could try Clean's CLAS-library, inspired on Blas, so I read. CLAS is
able to address sub-arays: slices.

There is an occasion where Clean allows you to open unique
sub-environments: From the *Files environment you can open an individual
*File, and then independently read and update various files in parallel.
This behaviour is not generally available though. If you have a unique
tree-structure, you cannot open various unique sub-trees and change them in
parallel.

Well, you CAN if you try hard. I once managed to do so by copying unique
nodes through code { } statements in Clean. But that was the bleeding edge
and I lost laziness on the way. Maybe one time Clean will let you routinely
'open' and 'close' arbitrary unique substructures.

Regards Erik Zuurbier