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

FOLLOW THE SIMPLE RULES

Name: Anonymous 2009-08-13 2:54

http://lisperati.com/landoflisp/

I'm sure everyone on /#haskell/ /prog/ has seen this already but I didn't find a reference to it in my cursory evaluation of this board's activity from the past year or two (ie. by glancing at the front page; anything else would require side effects).

Name: Anonymous 2009-08-14 16:41

>>33
Spoiler: [spoiler]Haskell allows side-effects, it just requires that "functions" declare their use of side-effects in their types.[spoiler] It's not that hard.


main = do
    stuff <- getContents
    putStrLn "Here's the stuff you typed in."
    putStrLn stuff

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