Generalizing Folds in Haskell

Lobsters·10 points·danilafe·over 4 years ago·danilafe.com

Have you encountered Haskell’s foldr function? Did you know that you can use it to express any function on a list? What’s more, there’s a way to derive similar functions for a large class of data types in…

Read the full article at danilafe.com →

Related stories

Related topics