Functional programming - FTSRG/cheat-sheets GitHub Wiki

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.

⚠️ **GitHub.com Fallback** ⚠️