mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-23 03:52:27 +00:00

... and enforce that defs can only occur in blocks (or, inside parenthesized expressions)
51 lines
1.1 KiB
Text
51 lines
1.1 KiB
Text
SpaceAfter(
|
|
Backpassing(
|
|
[
|
|
@0-1 Identifier {
|
|
ident: "x",
|
|
},
|
|
@3-4 Identifier {
|
|
ident: "y",
|
|
},
|
|
],
|
|
@8-23 Apply(
|
|
@8-17 Var {
|
|
module_name: "List",
|
|
ident: "map2",
|
|
},
|
|
[
|
|
@18-20 List(
|
|
[],
|
|
),
|
|
@21-23 List(
|
|
[],
|
|
),
|
|
],
|
|
Space,
|
|
),
|
|
@25-30 SpaceBefore(
|
|
BinOps(
|
|
[
|
|
(
|
|
@25-26 Var {
|
|
module_name: "",
|
|
ident: "x",
|
|
},
|
|
@27-28 Plus,
|
|
),
|
|
],
|
|
@29-30 Var {
|
|
module_name: "",
|
|
ident: "y",
|
|
},
|
|
),
|
|
[
|
|
Newline,
|
|
Newline,
|
|
],
|
|
),
|
|
),
|
|
[
|
|
Newline,
|
|
],
|
|
)
|