mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00

Just a refactoring PR. This is useful because during canonicalization we always process type defs first, then value defs. With abilities this distinction continues to grow; in that case, we have patterns associated with types that we want to process before patterns from values.
46 lines
1.4 KiB
Text
46 lines
1.4 KiB
Text
[
|
|
@0-24 SpaceAfter(
|
|
SpaceBefore(
|
|
Value(
|
|
Body(
|
|
@0-4 Identifier(
|
|
"main",
|
|
),
|
|
@11-24 SpaceBefore(
|
|
Defs(
|
|
[
|
|
@11-17 Value(
|
|
Body(
|
|
@11-12 Identifier(
|
|
"i",
|
|
),
|
|
@15-17 Num(
|
|
"64",
|
|
),
|
|
),
|
|
),
|
|
],
|
|
@23-24 SpaceBefore(
|
|
Var {
|
|
module_name: "",
|
|
ident: "i",
|
|
},
|
|
[
|
|
Newline,
|
|
Newline,
|
|
],
|
|
),
|
|
),
|
|
[
|
|
Newline,
|
|
],
|
|
),
|
|
),
|
|
),
|
|
[],
|
|
),
|
|
[
|
|
Newline,
|
|
],
|
|
),
|
|
]
|