[Haskell] Re: Global Variables and IO initializers

Keean Schupke k.schupke at imperial.ac.uk
Mon Nov 8 05:32:13 EST 2004

>However, turning Haskell into O'Haskell seems like a far more radical
>suggestion than the (IMO) conservative language extension under
>discussion. So I don't expect it to happen anytime soon. Maybe if
>Haskell ever gets a better records/modules system things might look
>a bit different. But there doesn't seem to much prospect of that
>happening either at the moment.
Actually to the contrary see:


This shows that OHaskell/OCaml style object systems can be
implemented in Haskell without any new extension using the
HList library. If foy look at the Shape example on that page
you will see the code is even readable and neat.


More information about the Haskell mailing list