Skip to content

Instantly share code, notes, and snippets.

@masaru-b-cl
Forked from leque/gist:8035729
Last active December 31, 2015 19:49
Show Gist options
  • Save masaru-b-cl/8036060 to your computer and use it in GitHub Desktop.
Save masaru-b-cl/8036060 to your computer and use it in GitHub Desktop.
Common Lisp Scheme Haskell OCaml F# SML Ruby Smalltalk C#
mapc for-each mapM_ iter iter app each do: ForEach (List<T>のみ)
mapcar map map map map map map, collect collect: Select
find-if find find find find find find, detect detect: First
remove-if-not filter filter filter, find_all filter filter find_all, select select Where
reduce fold, fold-left foldl fold_left fold foldl inject inject:into: Aggregate
reduce :from-end t fold-right foldBack foldr fold_right foldr - - -
some any, exists any exists exists exists any? anySatisfy: Any
every every, for-all all for_all forall all all? allSatisfy: All
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment