Daniel Keast

Stuff about haskell

Real World Haskell 4

These are the first exercises of chapter 4.

Real World Haskell 3

Finally got it I think. This was bloody tricky.

Real World Haskell 2

There are several more questions in this book at the end of the chapter.

Real World Haskell

Real World Haskell chapter 3 is about recursive data types, and includes an example of creating a list-like data structure.

Short circuiting is lazy

I’m used to the concept of short circuiting operators. For example, in this Python code “evaluated” is never printed as it is clear before then that the entire if branch must resolve to True.