Is there a function to debug print a list or other object to see what's in it?
dbg [1,2,3]
Ah, the docs don't turn that up.
https://github.com/roc-lang/roc/blob/main/docs/langref/statements.md#dbg-dbg
Its currently a TODO :smiling_face_with_tear:
We will probably do a big pass over the docs soonish I think.
yes, that's a major goal of mine over the next 2 months :smile:
Last updated: Sep 03 2026 at 15:16 UTC