Stream: beginners

Topic: order of execution


view this post on Zulip Luke Boswell (Jul 12 2024 at 21:53):

I saw this issue and wondered if this is actually expected behaviour.

https://github.com/roc-lang/roc/issues/6897#issue-2405676825

I thought this was fine, it's only when you have statements that the oorder starts to matter a bit.

view this post on Zulip Richard Feldman (Jul 12 2024 at 21:55):

it worked by design in the past

view this post on Zulip Richard Feldman (Jul 12 2024 at 21:55):

the design has changed (this ought to be an error now) but the implementation hasn't yet

view this post on Zulip Richard Feldman (Jul 12 2024 at 21:55):

the new canonicalization I'm working on makes this an error


Last updated: Jul 06 2025 at 12:14 UTC