As a pebble (a Roc newbie, I'm trying to get the name to catch on), I find myself repeatedly searching for functions I commonly use in other languages, for example concatMap seems to be named joinMap, filter is keepIf, foldl is walk, and so on. The Roc names are arguably clearer, and therefore better for people who are new to programming, but I wish there was a glossary. Sometimes I'm not sure whether I've missed something, or whether it just hasn't been implemented yet (e.g., I can't find List.zip). If there was a page on the website with a bunch of commonly used functions from other languages and their equivalent in Roc, I would find it really useful. I'm happy to contribute a first version, if you want.
We do have one, but it is easily missed: https://www.roc-lang.org/different-names
Oh wow, that's exactly what I was looking for. I'm sorry I missed it, where is it linked on the website?
It's linked on https://www.roc-lang.org/builtins in the tip in the bottom left
Oh wow, it's right there, I never noticed it, and I've been on this page a lot. Sorry for the noise!
Not at all, it is too easily missed, we've talked about potential improvements, let me see if I can find it
Actually, I've been there a lot, but I always immediately click on Str or List or others. Perhaps it would be better to have that link on each of the relevant pages, closer to the top?
Actually, it might be more useful to add the appropriate comment to each function, similar to the concatMap comment in joinMap. For example, keepIf could have the comment that it's named filter in many languages.
I originally thought to augment the search box, so that if you enter for example fold, it guides you to walk. But there are several possible improvements to make as you suggested
The search box would be awesome
Perhaps for an easy first improvement we move the tip with the link between search and Str?
Yes, just below the Search, that would be cool. To be honest, I just noticed the search box now, I must be blind.
Btw, where's the repo for the website? The concatMap name is missing from the different-names page, I can push a PR.
It's in the main repo at roc/www/public/different-names/index.html
Oh cool, I thought it would be in its own repo, got it.
I just noticed the search box now, I must be blind.
Totally normal, others have missed it too, we've also talked about centering it and making it way larger
Thanks again Anton!
Last updated: Jun 16 2026 at 16:19 UTC