Skip to content

Functional programming

Dávid Szakállas edited this page Aug 30, 2018 · 14 revisions

Functional programming constructs in popular languages

Haskell Java Scala Groovy Clojure Python R
map <$> map map collect map
flatMap >>=1 flatMap flatMap mapcat
filter filter filter filter findAll filter
reduce fold reduce foldLeft / reduceLeft inject reduce
zip zip zip transpose * transpose
unzip unzip unzip

1 pronounced 'bind'. Found in Haskell logo.

Clone this wiki locally