Lots of updates :rocket:
Str.split
got renamed to Str.splitOn
and List.split
got renamed to List.splitAt
.If you still need one of the "pre Str.split change" nightlies, they're here
Thanks for all your work on this Anton!
With Advent of Code coming up, there's also a new List.splitOn
function which will allow you to write code like this
List.splitOn input '\n'
instead of this
Str.splitOn input "\n" |> List.map Str.toUtf8
do this go with purity inference?
These changes are unrelated to Purity Inference
And have been on different release schedules
These changes are already out
Purity Inference is out for the core language if you opt in, but the platforms aren't there yet
Is there any platform that is stable on PI?
wanted to have a go at AOC with PI. Any way to that now?
I don't think so. Basic-cli is close
@Agustin Romero absolutely! You just need to use the branch basic-cli called purity-inference
Not seeing a pre-built version of the platform...
guess i will have to figure out how to build it and use it?
Anthony Bullard said:
Is there any platform that is stable on PI?
Yes, the graphics platform has been purity inference for a while.
https://github.com/lukewilliamboswell/roc-ray
Last updated: Jul 26 2025 at 12:14 UTC