Software Engineering discussion
Learn You a Haskell
>
Syntax in Functions
date
newest »


I wish this book contained some exercises at the end of each chapter that would allow readers to get some taste of Haskell and at the same time systematically consolidate studied material in chapter with the material already covered in previous chapters. I really like author’s writing style; I bet the exercises would be fun too.
I agree. Reading about a language and trying to write a program in it are two very different things.
I don't think that the book explicitly stated this yet, but the pattern [x:xs] is a common one, where x is the first item in the list, and the xs (literally, more than one x or plural) is the remainder of the list. This singular/plural distinction is just a variable naming convention, but a common and useful one.