raould
2010-02-10 23:09:22 UTC
i assume that means passing the whole heap around? but the heap
wouldn't be copied-with-changes, it would be directly mutated. does
the State monad in haskell have some hack in the implementation to let
it really mutate, like how the IO monad has a hack to make things
actually interactive at runtime?
wouldn't be copied-with-changes, it would be directly mutated. does
the State monad in haskell have some hack in the implementation to let
it really mutate, like how the IO monad has a hack to make things
actually interactive at runtime?