24 Jan
2006
24 Jan
'06
9:56 p.m.
On Tue, 24 Jan 2006, Jules Jacobs wrote:
Is that a problem because Haskell is functional, or is there be an obvious and nice way to implement an imperative scripting language?
There're several. Perhaps the most obvious if your scripting language will do IO anyway is just to use IORefs, or you could use the ST monad or a map from references to values (good for debugging purposes because you can keep an entire trace in memory - because individual maps're immutable, they can share data so this means less memory consumed than you might think). -- flippa@flippac.org Performance anxiety leads to premature optimisation