Skip to content

Instantly share code, notes, and snippets.

@Koisell Koisell/foldl.scala
Last active Sep 23, 2019

What would you like to do?
Medium recursion schemes
List(1, 2, 3).foldl(0)(_ + _)
// foldl removes the explicit recursion.
// FOLD, REDUCE, ... already are recursion scheme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.