1
1
mirror of https://github.com/sdiehl/wiwinwlh.git synced 2024-09-11 12:05:25 +03:00
What I Wish I Knew When Learning Haskell
Go to file
2020-02-17 09:30:07 +00:00
css Write more 2020-01-05 22:10:28 +00:00
img Write more 2020-02-06 12:18:58 +00:00
js Navigation and scroll fixes (#143) 2016-11-07 06:00:16 -05:00
resources Update build script 2020-02-17 06:48:21 +00:00
src Fix build script 2020-02-17 06:57:18 +00:00
.gitignore Write more 2020-02-16 22:02:12 +00:00
.travis.yml Just make html 2020-02-17 07:15:33 +00:00
deploy.sh Update cabal section 2019-12-23 09:43:17 +00:00
extensions.csv Write more 2020-02-05 19:33:11 +00:00
extensions.html Typo 2016-04-25 21:25:59 +02:00
includes.hs Write more 2020-02-08 15:11:18 +00:00
LICENSE Write more 2020-02-12 09:30:49 +00:00
Makefile Update REAMDE 2020-02-16 23:40:20 +00:00
README.md Fix links 2020-02-17 09:30:07 +00:00
shell.nix Fixing missing unicode characters in rendered PDF (#177) 2020-01-17 16:01:01 +00:00
stack.yaml Write more 2020-02-08 15:11:18 +00:00
stack.yaml.lock Write more 2020-02-08 12:36:23 +00:00
tutorial.md Fix links 2020-02-17 09:30:07 +00:00
wiwinwlh.cabal Write more 2020-02-08 15:11:18 +00:00

MIT License Build Status

Read Online:

If you'd like a physical copy of the text you can either print it out for yourself (see Printable PDF) or purchase one from a publisher. The price is at-cost since the book is open source and free.

The current published version is:

Date: February 16, 2910
Git: d429c2e21b9636cffa27a8d4f063644b8bcecf1a

Source Code

Chapter Code Examples:

Contributing

If you want to submit a fix for a typo or fix for code then just submit a pull request, and I'm happy to recompile the resulting document. Edit the following Markdown file which generates all other targets.

tutorial.md

Compiling

If for some reason you want to compile the HTML page yourself, then you'll need to compile the preprocessor against Pandoc and then run make to build the page.

To compile the preprocessor run either use Nix, Stack or Cabal to compile the target in the cabal file.

$ stack exec make # Stack
$ cabal exec make # Cabal
$ make run-shell && ghc --make includes.hs # Nix

After this is built you can build anyone of the available target outputs.

LaTeX

$ apt-get install texlive texlive-xetex
$ make pdf
$ make print

HTML

$ make html

Microsoft Word

$ make docx

Ebook

$ make epub

License

Copyright © 2009-2020 Stephen Diehl

This code included in the text is dedicated to the public domain. You can copy, modify, distribute and perform the code, even for commercial purposes, all without asking permission.

You may distribute this text in its full form freely, but may not reauthor or sublicense this work. Any reproductions of major portions of the text must include attribution.

The software is provided "as is", without warranty of any kind, express or implied, including But not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, Arising from, out of or in connection with the software or the use or other dealings in the software.