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.walkBackwards |
|
List.first |
|
List.keepIf |
|
List.dropIf |
|
List.join |
|
List.joinMap |
|
List.keepOks |
|
Result.try |
|
List.map2 x y Pair |
|