You can still do state using the state monad.
> this gives almost all of the advantages of Haskell
except one of the biggest ones - the type system. Obviously this is subjective though. Some people prefer dynamic typing :)
> this gives almost all of the advantages of Haskell
except one of the biggest ones - the type system. Obviously this is subjective though. Some people prefer dynamic typing :)
Clojure backs off the 'referential transparency ONLY' philosophy, and merely discourages mutability. In my (limited) experience, this gives almost all of the advantages of Haskell, but an environment that's easier to program in.
So yeah, I'm excited about Clojure too. I just wish we could port it off the JVM...