Patrik Jansson writes:
> [In ghc-2.10 and ghc-3.01]
> 
> The ghc version of the ST module
> 
>   ghc/lib/exts/ST.lhs
> 
> makes (ST s) a Monad but not a Functor.
> 
> In hugs 1.4 February it is both a Monad and a Functor.
> 

ST should be an instance in Functor. Will fix for the next version -
thanks for letting us know.

> I don't know where to look for a formal definition for these extension
> libraries, but I think hugs is right and that the Functor instance should
> be there.
> 

Don't know about the formal bit, but

http://www.dcs.gla.ac.uk/fp/software/ghc/3.01/users_guide/libs.html

contains an up-to-date document describing the shared libs.

--Sigbjorn

Reply via email to