These are some 😏 fp examples I've been studying.
More will come.
📚 This is the order I've used to learn and understand the FP approach:
- Start by understanding Higher Order Functions (
HOF.js) - Continue with
curry.js - Check out the
curry-example.jsto have a "real life" example of currying - Understand how to build a pipe fn with curry -
pipe.js - Does arg order matter? - Test out
argument-order.js - Finally
mind-blowing-pipe-example.js