Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in fold

Practical use of fold/reduce in functional languages

What is the most general way to compute the depth of a tree with something like a fold?

haskell tree fold

Tail recursive fold on a binary tree in Scala

foldLeft or foldRight equivalent in Spark?

Haskell's foldr equivalent in Java 8 [duplicate]

java haskell java-8 reduce fold

How to implement zip with foldl (in an eager language)

Map/reduce equivalent for a list comprehension with multiple for clauses

Is it possible to use continuations to make foldRight tail recursive?

Currying Functions Erlang

haskell erlang currying fold

Interleave List of Lists in Haskell

list haskell fold interleave

Is there an efficient, lazy way to fuse foldMap with traverse?

haskell traversal fold

Multiple folds in one pass using generic tuple function

How does the fold action work in Spark?

scala apache-spark fold

Ruby - test each array element, get one result

arrays ruby fold

Is there a way to fold with index in Rust?

indexing rust fold

foldl / foldr query

haskell fold

"Any function on finite lists that is defined by pairing the desired result with the argument list can always be redefined in terms of fold"

What is the connection between primitive recursion and catamorphisms?

How can a variadic template be used to generate a left-associative expression (aka left fold) in c++11?

Why does this first Haskell function FAIL to handle infinite lists, while this second snippet SUCCEEDS with infinite lists?