Stream: beginners

Topic: Decoding syntax with the zig compiler


view this post on Zulip Lukas Hermann (Dec 06 2025 at 16:35):

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.

view this post on Zulip Fabian Schmalzried (Dec 06 2025 at 17:15):

Decoder is not yet implemented in the new compiler.

view this post on Zulip Fabian Schmalzried (Dec 06 2025 at 17:18):

All available builtins for the new compiler are at https://github.com/roc-lang/roc/blob/main/src%2Fbuild%2Froc%2FBuiltin.roc

view this post on Zulip Lukas Hermann (Dec 06 2025 at 17:24):

Thank you!


Last updated: Dec 21 2025 at 12:15 UTC