| Language | ||||||||
|---|---|---|---|---|---|---|---|---|
| Common Lisp | mapc | mapcar | find-if | remove-if-not | reduce | reduce :from-end t | some | every |
| Scheme | for-each | map | find | filter | fold, fold-left | fold-right | any, exists | every, for-all |
| Haskell | mapM_ | map | find | filter | foldl | foldr | any | all |
| Caml Light | do_list | map | - | - | it_list | list_it | exists | for_all |
| OCaml | iter | map | find | filter, find_all | fold_left | fold_right | exists | for_all |
| F# | iter | map | find | filter | fold | foldBack | exists | forall |
| SML | app | map | find | filter | foldl | foldr | exists | all |
| Scala | foreach | map | find | filter | foldLeft | foldRight | exists | forall |
| ECMAScript | forEach | map | - | filter | reduce | reduceRight | some | every |
| Ruby | each | map, collect | find, detect | find_all, select | reduce, inject | - | any? | all? |
| Smalltalk | do: | collect: | detect: | select: | inject:into: | - | anySatisfy: | allSatisfy: |
| C# | ForEach (List<T>のみ) | Select | First | Where | Aggregate | - | Any | All |
- ARLO GUTHRIE AND THE ORIGINS OF THE COLLECTION PROTOCOL: Smalltalk のコレクションメソッドの名前の由来について
- any? vs. some?: exists 系のメソッドの名前について。 Kent Pitman は any/every, some/all という組み合わせが好みだったようだ。 Scheme の SRFI 1 は Yale T 流の名前になっている。
- 歴史的にはかつて Ruby にも
Array#filterという名前の別メソッドが存在していたが、collect!,map!の別名になった後、削除された。