8 Nov
2004
8 Nov
'04
10:32 a.m.
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: http://www.cwi.nl/~ralf/OOHaskell 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. Keean.