making a game in haskell
I tried making a game in haskell with the intention of learning as much functional programming as possible.
Functional programming has always interested me. I like the idea of extremely abstract, declarative systems that I often see advertised in language forums for haskell, ocaml, etc. I chose haskell because it seemed to be the face of the modern pure functional world (with Lisp as a close runner-up). Also, I just like how the syntax looks.
If you've come from imperative languages like me, haskell looks completely alien. Even this simple program shows a bunch of unique concepts to the language:
main :: IO ()
main = do
putStr "What's your name? "
name <- getLine
putStrLn "Hello, " ++ name ++ "!"