mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
548 B
548 B
META
description=two_arg_closure
type=expr
SOURCE
|_, _| 42
EXPECTED
NIL
PROBLEMS
NIL
TOKENS
OpBar,Underscore,Comma,Underscore,OpBar,Int,
EndOfFile,
PARSE
(e-lambda
(args
(p-underscore)
(p-underscore))
(e-int (raw "42")))
FORMATTED
NO CHANGE
CANONICALIZE
(e-lambda
(args
(p-underscore)
(p-underscore))
(e-num (value "42")))
TYPES
(expr (type "_arg, _arg2 -> a where [a.from_numeral : Numeral -> Try(a, [InvalidNumeral(Str)])]"))