Manuel writes:
> Porting some modules that use GHC specific mutable data
> structures from the 0.2x compiler series to the 2.x series,
> I felt a bit unsure about the purpose of the various
> interfaces.
> 
> In particular, the type `MutableVar' is defined in
> `ArrBase', but the operations on `MutableVar' are defined in
> `ST'.  As `ST' also reexports some of the type definitions
> and functions from `ArrBase', I thought you maybe intended
> to use `ArrBase' through `ST', but that failed for me,
> because the function `boundsOfArray' (among others) is not
> reexported by `ST'.


In fact, we're in the middle of standardising these libraries
in collaboration with Yale, so that Hugs and GHC will suppport
just the same ST/mutables libraries, and some others beside.
I think this'll solve your problem.

We'll put up a version for comment shortly.

Simon

Reply via email to