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).

-- 
[EMAIL PROTECTED]

Performance anxiety leads to premature optimisation
_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to