Tag Archives: Haskell

4 Chapters in Real World Haskell

I've been slowly going through the book "Real World Haskell" by Bryan O'Sullivan, Don Stewart, and John Goerzen. Of course, I have been going through the online version.

I have gone through the first four chapters of the book. These chapters  lay the basic framework for using and understanding the Haskell language. I have only 2 complaints at this point:

  1. The excercises sometimes seem a little excessive. In other words, they are not necessarily easy for a beginner to figure out.
  2. This isn't really a complaint about the book, but rather a personal difficulty. Functional programming is a slightly demanding paradigm switch. I like it a lot and I already have a deep appreciation for it but it is not always easy to wrap my head around a new way of programming.

What I like about the book:

  1. Examples are short, concise, and generally easy to follow
  2. The layout is progressive and logical
  3. The exercises are challenging - often more challenging than I would expect. Yet, they make you learn the language!
  4. Online means easy and cheap access
  5. The user comments throughout the pages are useful to understanding Haskell. They often give a slightly deeper insight into what the book is showing.

Overall I really like this book and am excited to continue on to what seems to be more real world examples and applications.

A Couple of Things that I Like About Haskell

  1. Mathiness. ' is actually a valid character for variable naming. This means that the variables x, x', and x'' can be used inside programs.
  2. Recursion. Well, it's just easier and a little bit mathier, isn't it?
  3. Iteration is replaced with Tail Recursion.
  4. It's different. This is not C#. This is not Java. This is not even F#. This is real functional programming. It really makes you think in a new way.