
30 Sep
2004
30 Sep
'04
3:23 a.m.
--- John Goerzen mumbled on 2004-09-29 20.29.47 +0000 ---
The next thing that occured to me is that, unlike OCaml and Python classes, Haskell has no mutable variables. A call like config.setOption("main", "initpath", "/usr") in Python -- which alters the state of the config object and returns nothing -- would be impossible in Haskell (unless perhaps the FiniteMaps are mutable somehow?)
http://www.ccs.neu.edu/home/matthias/Presentations/ecoop2004.pdf Mutation is not very OO-like. -- Mike Burns netgeek@speakeasy.net http://mike-burns.com