[Haskell-cafe] using mutable data structures in pure functions

Johan Tibell johan.tibell at gmail.com
Mon Mar 12 06:14:56 CET 2012


On Sun, Mar 11, 2012 at 8:38 PM, E R <pc88mxer at gmail.com> wrote:
> 1. leave it to the compiler to find these kinds of opportunities
> 2. just use the immutable data structures - after all they are just as
> good (at least asymptotically)
> 3. you don't want to use mutable data structures because of _____
> 4. it does happen, and some examples are ______

5. There's no substitute for thinking and understanding the trade-offs
that you are making.

:)



More information about the Haskell-Cafe mailing list