/haskell_tutorial_cookbook_examples

Code samples for my book "Haskell Tutorial and Cookbook"

Primary LanguageHaskell

Examples for "Haskell Tutorial and Cookbook, Second Edition" by Mark Watson

Haskell Logo

This repo contains the examples for my Haskell book:

Haskell Tutorial and Cookbook

I am starting to use this repo for all personal Haskell projects.

In the future, if you see a file named NOT_YET_IN_BOOK.md in any subdirectory, then please don't expect (yet) that this example is in the book. Currently everything in this repo is in the second edition of my book.

Updates

Updated 12/23/2020 for stack resolver: lts-16.26

Updated 8/6/2019 for the second edition of my book

Tool Installation

See Appendix A in my book, or simply install stack and hlint.

Note: 6/18/2020: install directions in Appendix A to optionally install cabal-install (with latest GHC 8.8.3) produces an error running:

    stack install cabal-install

Installing cabal-install is optional. Installing stack using the directions in Appendix A which refers you to th official documentation at [http://docs.haskellstack.org/en/stable/README.html](http://docs.haskellstack.org/en/stable/README.html is sufficient for running the exampes in my book.