I’m inexperienced So I hesitate to call this a bug, however an extremely odd error happened. There is a -> next, so I am not sure why this is happening
I was partway through parsing a function, but I got stuck here:
21│ (List.walk elem state (\internalState, internalElem ->
^
I just saw a pattern, so I was expecting to see a -> next```
Probably the compiler printing a bad error message. Can you share more context of the surrounding function?
For whatever reason, zulip is giving me a tough time pasting the text (I’m on an iPad using ssh). I went ahead and included a screenshot. 9C10954A-4FF4-4001-9B03-2CD9AAD81EB4.jpg
For context, this is a very early prototype for D2P1 of AOC. Also thank you for your help earlier!
I am having a hard time parsing this manually, but I don't immediately see an issue.
If you can manage to get text on zulip later, that would be helpful.
Also, by using more |>
operators, you probably can greatly reduce the nesting.
It started working once I fixed a few typos, so idk what caused it :). I also delt with the nesting.
Last updated: Jul 06 2025 at 12:14 UTC