On 1/24/06, Philippa Cowderoy <[EMAIL PROTECTED]> wrote:
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
--
Groeten,
Jules
_______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell