does roc have a way to create Ranges like in Rust? I mean something 1..10 and pattern match on it then
Check out the docs :wink:
thanks
Warning: ranges create a list
So perf can be really bad depending on the use.
@Brendan Hansknecht
Am I mistaken, or is the plan to improve perf w/ fusion eventually? It seems like with all of the (appreciated) syntax changes, fusion has probably been bumped down in priority correct? I don't think I saw this in the list of features planned for 0.1.
Yes, that's definitely a post-0.1.0 thing. We're trying to focus on having a stable core that looks like Roc will look like in the future, and one that has a stable, friendly experience for newcomers
We don't need perf-oriented features to make that happen, so they're lower priority
also a new paper came out about a new approach to it, and we need to revisit the planned approach for how to do it accordingly (might stick with the previous plan, but also might want to change it)
Got a link to that paper? :eyes:
we talked about it on here somewhere briefly a few months ago, but I don't remember where exactly :sweat_smile:
Oh, I know that one. I thought there was an even newer one!
Last updated: Jul 06 2025 at 12:14 UTC