Different Names
Different programming languages sometimes choose different names for similar operations. If you're new to Roc, you may be searching for a familiar operation and not find it because that operation (or a similar one) goes by a different name in Roc.
To help with this, here are some Roc operations along with some names found in other languages for similar operations.
| Roc Name | Other Names |
|---|---|
| List.walk |
|
| List.walk_backwards |
|
| List.first |
|
| List.keep_if |
|
| List.drop_if |
|
| List.join |
|
| List.join_map |
|
| List.keep_oks |
|
| Result.try |
|
| List.map2 x y Pair |
|