mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Derive decoding for tuples
This commit is contained in:
parent
e96be7c746
commit
cb5a21cb20
6 changed files with 1057 additions and 6 deletions
|
@ -12,7 +12,7 @@ use crate::decoding::wrap_in_decode_custom_decode_with;
|
|||
use crate::synth_var;
|
||||
use crate::util::Env;
|
||||
|
||||
pub fn decoder(env: &mut Env<'_>, _def_symbol: Symbol) -> (Expr, Variable) {
|
||||
pub(crate) fn decoder(env: &mut Env<'_>, _def_symbol: Symbol) -> (Expr, Variable) {
|
||||
// Build
|
||||
//
|
||||
// def_symbol : Decoder (List elem) fmt | elem has Decoding, fmt has DecoderFormatting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue