Hi all, I'm a little confused about how to write a Decoder with the new compiler. Right now when I try to define a function that takes a Decoder I get The type Decoder is not declared in this scope.
Decoder is not yet implemented in the new compiler.
All available builtins for the new compiler are at https://github.com/roc-lang/roc/blob/main/src%2Fbuild%2Froc%2FBuiltin.roc
Thank you!
Last updated: Dec 21 2025 at 12:15 UTC