Hacker News new | past | comments | ask | show | jobs | submit login

Good rant, but can we stop it with the "You need to understand category theory to do IO in Haskell" meme?

    main = do
       putStrLn "What's your name?"
       name <- getLine
       putStrLn ("Hello " ++ name)
Was that really so hard?



Yes, it's easy.

(And a few bits of category do help when you are toying around with other typeclasses. Have a look at the typeclassopedia for an introduction.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: