@@ -194,8 +194,14 @@ toTuple types =
196 length types
196 length types
199+ map (\n -> 'x' : show n) [ 1 .. size ]
202+ Opt.Function args (Opt.Data ("_Tuple" ++ show size) (map (Opt.Var . Var.local) args))
198− to ("tuple" ++ show size) <== map decode types
204+ to ("tuple" ++ show size) <== (makeTuple : map decode types)
201toRecord :: [(String, T.Canonical)] -> Opt.Expr
207toRecord :: [(String, T.Canonical)] -> Opt.Expr