List.walk docs have this example:
[2, 4, 8]
|> List.walk { start: 0, step: Num.add }
But this doesn't seem to compile. Is this how it used to work? Now it takes 3 arguments instead of taking a list and a record
Oh, yeah, it shouldn't take a record. It should just take the values for start and step directly
List.walk 0 Num.add
I guess that was an old API idea that never got updated
I saw some mention about code signing requirement for PRs but don't want to deal with this for now (I probably wouldn't send significant patches to rust or zig code anyway)... Is this requirement just satisfied if I use the built-in github editor? I think GitHub marks commits created this way as "verified" but I'm not sure if it's the same thing
If it says verified, then they should be good
I'll update the docs
Michał Łępicki has marked this topic as resolved.
@Michał Łępicki
Here's the updated docs PR
https://github.com/roc-lang/roc/pull/4382
Last updated: Jul 06 2025 at 12:14 UTC