News for hackers. Stuff that matters.
Re:ICFP report on the use of Haskell at Google by silentbicycle on Thursday September 30, 2010 @08:49AM (#1743076)
No, you aren't. In OCaml, you can use mutable references, they're just not the default. Erlang has process dictionaries. Etc.

Haskell is unusually strict in that regard, turning what is normally a design option into an all-or-nothing situation.

Edit: I know there are a few ways around it via monads, but the culture surrounding Haskell seems quite a bit more likely to treat state/purity as an all-or-nothing issue than the others'. Maybe I'm making inaccurate assumptions about Haskell based on the loudest members of its community, though.

Re:ICFP report on the use of Haskell at Google by jrockway on Thursday September 30, 2010 @09:24AM (#1743157)
Not really. Mutable refs are provided by ST, which allows for chunks of your program where you are mutating state, but where the mutable state can't leak outside of boundaries you set.

(There is also the good-old-IORef, but I avoid IO for anything that's not input or output.)