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

Haskell the Dog

Name: Anonymous 2008-04-15 9:09

Can someone post picturse of the late Haskell? Also, what type of dog was she?

Name: Anonymous 2008-05-29 13:48

>>48
Dude, they use whitespace as syntax! In C, it's natural to do what you said, but in Haskell one can write
(provided that the instructions are indented to the same level)

foo = do
  bar
  baz
  quux
  quuux


instead of

main = do {foo; bar; baz; quux; quuux}

Of course, you can skip the curly brackets C-style, then

main = do {dicks}

becomes

main = do dicks

(which is just a complicated way of saying main = dicks)



HURRRRRRRR

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