/programming-in-haskell-exercices

This repository is just meant as a way to store the exercises contained in "Programming in Haskell" by Graham Hutton (2nd edition).

Primary LanguageHaskell

programming-in-haskell-exercices

This repository is just meant as a way to store the exercises contained in "Programming in Haskell" by Graham Hutton (2nd edition).

Chapter 1

Chapter content:

  • Functional programming
  • Features of Haskell
  • Historical background
  • A taste of Haskell

Exercices

Chapter 2

Chapter content:

  • Glassgow Haskell Compiler
  • Installing and starting
  • Standard prelude
  • Function application
  • Haskell scripts

Exercices

Chapter 3

Chapter content:

  • Basic concepts
  • Basic types
  • List types
  • Tuple types
  • Function types
  • Curried functions
  • Polymorphic types
  • Overloaded types
  • Basic classes

Exercices

Chapter 4

Chapter content:

  • Conditional expressions
  • Guarded equations
  • Pattern matching
  • Lambda expressions
  • Operator sections

Exercices

Chapter 5

Chapter content:

  • Guards
  • The zip function
  • String comprehensions
  • The Caesar cipher

Exercices