Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ > *

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?

Name: Anonymous 2011-12-25 14:38

import Data.IORef

main = do x <- newIORef 1
          readIORef x >>= print
          modifyIORef x (+1)
          readIORef x >>= print

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List