Skip to content

sdiehl/write-you-a-haskell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ae73485 · Apr 19, 2017
Feb 19, 2016
Jan 5, 2015
Dec 13, 2015
Jan 19, 2015
Jan 19, 2015
Jan 5, 2015
Jan 19, 2015
Apr 19, 2017
Jul 23, 2016
Jul 7, 2016
Feb 14, 2015
Jan 1, 2017
Jan 5, 2015
Feb 11, 2017
Dec 31, 2015
Jan 11, 2016
Jan 6, 2015
Jan 24, 2015
Nov 27, 2015
Dec 11, 2015
Dec 31, 2015
Feb 3, 2016
Apr 19, 2017
Dec 13, 2015
Jul 7, 2016
Mar 22, 2016
Apr 19, 2017
Jun 21, 2016
Feb 11, 2017
Jun 20, 2016
Dec 31, 2015
Jan 19, 2015
Jan 28, 2015
Jan 19, 2016
Sep 25, 2016
Jan 19, 2016
Dec 31, 2015
Apr 28, 2016
Jan 24, 2015
Dec 31, 2015
Jan 9, 2015
Jan 19, 2016
Jan 11, 2015
Jan 19, 2015
Jan 19, 2016
Jan 9, 2015
Jan 19, 2016
Jan 19, 2015
Jan 19, 2016

Repository files navigation


Building a modern functional compiler from first principles.

Stephen Diehl

Build Status Gitter MIT License

Read Online:

Releases

This is a work in progress.

Building

To generate the build scripts provision a cabal sandbox with pandoc in it. This is done by the write-you-a-haskell.cabal and stack.yaml files.

Stack

$ stack exec make

To generate the pdf, the LaTeX packages must be installed on the system.

$ sudo apt-get install texlive-xetex texlive-latex-extra
$ sudo apt-get install xzdec
$ sudo tlmgr install zapfding
$ stack exec make pdf

Generation of the epub is also supported.

$ stack exec make epub

Cabal

$ cabal sandbox init
$ cabal install --only-dependencies
$ cabal exec bash
$ make

Contributing

Any and all contributions are always welcome. As always, I rely on the perpetual kindness and goodwill of Haskellers (like you!) to help correct grammar, clarify, and fix errors.

License

Artwork CC BY NC SA

This written work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. You may reproduce and edit this work with attribution for all non-commercial purposes.

The included source is released under the terms of the MIT License.