MI-AFP/tutorials

Tutorial 01 - function composition example won't compile

janslifka opened this issue · 1 comments

There's an example of function composition in tutorial 01:

isntTriangle = not . isTriangle

However, this won't compile with the isTriangle function from the previous example.

Indeed, function composition with (.) is just for single parameter functions... fixed