Code examples and exercises from the "Learn You a Haskell for Great Good!" tutorial.
The repository is organized by chapters:
ch1/- Starting outch2/- Believe the typech3/- Syntax in functionsch4/- Recursionch7/- Modulesch8/- Input and outputch9/- More input and more outputch10/- Functionally solving problemsch11/- Functors, applicative functors and monoidsch13/- For a few monads morech14/- Zippersch15/- Conclusion
You can compile and run individual Haskell files using GHC:
ghc filename.hs
./filenameOr load them interactively in GHCi:
ghci filename.hs