Learning Haskell by building a static blog generator

soupi.github.io
2 min read
easy
A project-oriented online book about Haskell
Note: This is still in alpha stage. If you find errors, please let me know.

In this book we will implement a simple static blog generator in Haskell, converting documents written in our own custom markup language to HTML.

We will:

Implement a tiny HTML printer library Define and parse our custom markup language Read files and glue things together Add command line arguments parsing

In each chapter of the book we will focus on a particular task we wish to achieve, and through the chapter we'll learn just enough Haskell to complete the task.

There are many Haskell tutorials, guides and books out there. Why read this one?

There are probably more, but here are a few possible pros:

It's relatively short - most Haskell books out there are hundreds of pages long. This book (when exported to PDF) is roughly 150 pages long.

- most Haskell books out there are hundreds of pages long. This book (when exported to PDF) is roughly 150 pages long. It's project oriented . Many Haskell books teach…
Read full article