This video is only a short sample, but you can access the full version and all our other great content by subscribing.Subscribe Now
In this episode, Ben and Joe tackle a highly useful but lesser known method
While watching, you'll see how
inject is just an abstraction over certain
types of recursion. We'll use examples to demonstrate
inject's many uses,
including calculations on lists, implementing laziness for streaming large data
sets, and building recursive data structures like Rack middleware chains.
You can read more about
inject in the official documentation.