are you sure that dbg keyword works, seems like it is not recognized by compiler. Sorry I have closed my environment already so I can't paste compiler output but it seems like dead keyword
yeah I think it was missed as a keyword. it also only works within a let-block (so not on the top-level)
in tutorial this information is omitted
it's fixed on trunk now, but not yet in the nightlies
yeah it's very new, like less than 24 hours old :big_smile:
so might need a new nightly binary!
https://github.com/roc-lang/roc/issues/4577 is the issue for telling people about how it can't be used at the top level; I think this is the fix we should go with rather than adding it to the tutorial, because once that's implemented, you'll find out right away if you try it :big_smile:
I have uploaded the new nightlies except for macos x86_64
Last updated: Jul 06 2025 at 12:14 UTC