This are my solutions for the first Haskell chapter of the book seven languages in seven weeks.
I never touch Haskell, and only a bit of functional programming (mainly from this book), so I’m looking forward to have a look at Haskell, seen it is a functional languages that a lot of people refer to.
The first chapter shows the basics of the languages, so how to define functions, how lists work, how list comprehension works, tail recursion etc.
Exercise 1
The first exercise is quite a good start to look in to the possibilities of the language. The assignment is to create as many as possible different ways to implement an all even function.
Here is my go at it:
Continue Reading →