Skip to main content

Algebraic Data Types Demystified

Much of the power and conciseness of modern functional programming stems from expressive datatype definitions in combination with pattern matching to operate on these datatypes. A new chapter in our tutorial Learning Haskell explains Haskell's datatype definitions in great detail. And this is only the first part; we will release a second chapter on datatypes in the near future. The current chapter, among other things, explores all the intricacies of Haskell's record syntax. Unless you are a Haskell expert, I am quite certain that you will learn something new in these chapters.

Read more