6 Comments
Jan 9, 2022Liked by mogwai.

Really cool. A fun exercise for someone learning about this to try could be implementing a function to compose a variable number of function arguments.

Like:

compose(square, cube, squareRoot)(2) => 8

compose(add, toString)(1, 2) => 'three'

Expand full comment

What's the best programming language a beginner should start with?

Expand full comment
Jan 9, 2022·edited Jan 9, 2022

Great read! Thanks for expanding my knowledge of currying.

Expand full comment