Discussion about this post

User's avatar
Chidi's avatar

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
Comiconomist's avatar

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

Expand full comment
4 more comments...

No posts