Trying to Learn Haskell

Warning: attempting to learn Haskell may result in existential dread, spontaneous combustion, or both.

But hey, if you're here, you must be brave. Or delusional. Either way, welcome to the Haskell Hell section of the Cemetery of Regrets.

import Data.List (unfoldr)
main = do
  let xs = [1, 2, 3, 4, 5]
  print (length xs)

Don't worry, you'll get the hang of it. Eventually.

Or maybe not. Either way, it's a great excuse to visit our Programming Nightmares section.

Programming Nightmares