Name: Anonymous 2011-12-25 4:31
Tell me /prog/, why are you still using lisp and scheme when you can use C++ with Object Oriented and Imperative styles. How are you supposed to make a usable application if you can't use state?
import Data.IORef
main = do x <- newIORef 1
readIORef x >>= print
modifyIORef x (+1)
readIORef x >>= print