Software Engineering discussion
Learn You a Haskell
>
Higher-Order Functions
date
newest »
newest »
Discussion of higher order functions reminded me about lambda calculus. A year a go I attended Dale Schumacher’s lecture about his language Humus. Back then I didn’t get too much understanding of language itself, but I learned many programming language terms like an actor, lambda, and so on, that I did some more research on Internet later. I think understanding lambda calculus can help readers to understand higher order functions, currying, and binding more quickly and could be mentioned in this book. I guess that depends on a source. I liked the following lambda calculus tutorial:https://files.nyu.edu/cb125/public/La...


"foo a = bar b a" rewritten as "foo = bar b"
It seems to me that this crosses that narrow line between elegant conciseness and opaque readability, but maybe I just need more practice.
Most of the constructs in the chapter (map, filter, take, fold) are present in most functional languages.
The dot and dollar notation is new to me, and I think it really helps readability by removing so many parenthesis.