mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
implement mono / lowering for tuples
This commit is contained in:
parent
65f8bb3d0d
commit
5a6be05ead
42 changed files with 1773 additions and 290 deletions
|
@ -22,7 +22,7 @@ Defs(
|
|||
@4-20 Function(
|
||||
[
|
||||
@4-10 Tuple {
|
||||
fields: [
|
||||
elems: [
|
||||
@5-8 Apply(
|
||||
"",
|
||||
"Str",
|
||||
|
@ -37,7 +37,7 @@ Defs(
|
|||
},
|
||||
],
|
||||
@14-20 Tuple {
|
||||
fields: [
|
||||
elems: [
|
||||
@15-18 Apply(
|
||||
"",
|
||||
"Str",
|
||||
|
@ -59,7 +59,7 @@ Defs(
|
|||
ann_type: @4-20 Function(
|
||||
[
|
||||
@4-10 Tuple {
|
||||
fields: [
|
||||
elems: [
|
||||
@5-8 Apply(
|
||||
"",
|
||||
"Str",
|
||||
|
@ -74,7 +74,7 @@ Defs(
|
|||
},
|
||||
],
|
||||
@14-20 Tuple {
|
||||
fields: [
|
||||
elems: [
|
||||
@15-18 Apply(
|
||||
"",
|
||||
"Str",
|
||||
|
|
|
@ -28,7 +28,7 @@ Defs(
|
|||
),
|
||||
],
|
||||
@11-21 Tuple {
|
||||
fields: [
|
||||
elems: [
|
||||
@12-15 Apply(
|
||||
"",
|
||||
"I64",
|
||||
|
@ -57,7 +57,7 @@ Defs(
|
|||
),
|
||||
],
|
||||
@11-21 Tuple {
|
||||
fields: [
|
||||
elems: [
|
||||
@12-15 Apply(
|
||||
"",
|
||||
"I64",
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
Apply(
|
||||
@0-2 TupleAccessorFunction(
|
||||
"1",
|
||||
@0-2 AccessorFunction(
|
||||
TupleIndex(
|
||||
"1",
|
||||
),
|
||||
),
|
||||
[
|
||||
@3-12 Tuple(
|
||||
|
|
|
@ -22,7 +22,7 @@ Defs(
|
|||
@3-27 Function(
|
||||
[
|
||||
@3-13 Tuple {
|
||||
fields: [
|
||||
elems: [
|
||||
@4-7 Apply(
|
||||
"",
|
||||
"Str",
|
||||
|
@ -38,7 +38,7 @@ Defs(
|
|||
},
|
||||
],
|
||||
@17-27 Tuple {
|
||||
fields: [
|
||||
elems: [
|
||||
@18-21 Apply(
|
||||
"",
|
||||
"Str",
|
||||
|
@ -61,7 +61,7 @@ Defs(
|
|||
ann_type: @3-27 Function(
|
||||
[
|
||||
@3-13 Tuple {
|
||||
fields: [
|
||||
elems: [
|
||||
@4-7 Apply(
|
||||
"",
|
||||
"Str",
|
||||
|
@ -77,7 +77,7 @@ Defs(
|
|||
},
|
||||
],
|
||||
@17-27 Tuple {
|
||||
fields: [
|
||||
elems: [
|
||||
@18-21 Apply(
|
||||
"",
|
||||
"Str",
|
||||
|
|
|
@ -22,7 +22,7 @@ Defs(
|
|||
@3-29 Function(
|
||||
[
|
||||
@3-14 Tuple {
|
||||
fields: [
|
||||
elems: [
|
||||
@4-7 Apply(
|
||||
"",
|
||||
"Str",
|
||||
|
@ -42,7 +42,7 @@ Defs(
|
|||
},
|
||||
],
|
||||
@18-29 Tuple {
|
||||
fields: [
|
||||
elems: [
|
||||
@19-22 Apply(
|
||||
"",
|
||||
"Str",
|
||||
|
@ -69,7 +69,7 @@ Defs(
|
|||
ann_type: @3-29 Function(
|
||||
[
|
||||
@3-14 Tuple {
|
||||
fields: [
|
||||
elems: [
|
||||
@4-7 Apply(
|
||||
"",
|
||||
"Str",
|
||||
|
@ -89,7 +89,7 @@ Defs(
|
|||
},
|
||||
],
|
||||
@18-29 Tuple {
|
||||
fields: [
|
||||
elems: [
|
||||
@19-22 Apply(
|
||||
"",
|
||||
"Str",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue