Skip to content

muttener/haskell-blog-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementing Learn Haskell by building a blog generator

The book can be found here.

Progress

  • 1. About this book
  • 2. Hello world
  • 3. Building an HTML printer library
    • 3.1. Flexible HTML content (functions)
    • 3.2. Adding type signatures
    • 3.3. Embedded Domain Specific Languages
    • 3.4. Safer HTML construction with types
    • 3.5. Preventing incorrect use with modules
    • 3.6. Escaping characters
    • 3.7. Exposing internal functionality (Internal modules)
    • 3.8. Exercises
    • 3.9. Summary
  • 4. Custom markup language
    • 4.1. Representing the markup language as a Haskell data type
    • 4.2. Parsing markup part 01 (Recursion)
    • 4.3. Displaying the parsing results (type classes)
    • 4.4. Parsing markup part 02 (Pattern matching)
  • 5. Gluing things together
    • 5.1. Converting Markup to HTML
    • 5.2. Working with IO
    • 5.3. Defining a project description
    • 5.4. Fancy options parsing
  • 6. Handling errors and multiple files
    • 6.1. Handling errors with Either
    • 6.2. Either with IO?
    • 6.3. Exceptions
    • 6.4. Let's code already!
    • 6.5. Summary
  • 7. Passing an environment
  • 8. Writing tests
  • 9. Generating documentation
  • 10. Recap

About

My code for "Learn Haskell by building a blog generator" - an introductory book about Haskell.

Resources

License

Stars

Watchers

Forks

Contributors