Update snapshot tests

This commit is contained in:
Richard Feldman 2023-08-10 21:51:01 -04:00
parent 315d185b2b
commit 0176b9310d
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
17 changed files with 241 additions and 241 deletions

View file

@ -1 +1 @@
Expr(Ability(DemandColon(@15), @7), @0) Expr(Ability(DemandColon(@22), @14), @0)

View file

@ -1 +1 @@
Expr(Ability(DemandAlignment(4, @49), @40), @0) Expr(Ability(DemandAlignment(4, @67), @58), @0)

View file

@ -1 +1 @@
Expr(Ability(DemandAlignment(-1, @8), @7), @0) Expr(Ability(DemandAlignment(-1, @15), @14), @0)

View file

@ -1 +1 @@
Expr(Ability(DemandName(@12), @7), @0) Expr(Ability(DemandName(@19), @14), @0)

View file

@ -4,7 +4,7 @@ Defs(
Index(0), Index(0),
], ],
regions: [ regions: [
@0-36, @0-43,
], ],
space_before: [ space_before: [
Slice(start = 0, length = 0), Slice(start = 0, length = 0),
@ -19,18 +19,18 @@ Defs(
name: @0-4 "Hash", name: @0-4 "Hash",
vars: [], vars: [],
}, },
loc_has: @5-8 Has, loc_implements: @5-15 Implements,
members: [ members: [
AbilityMember { AbilityMember {
name: @11-15 SpaceBefore( name: @18-22 SpaceBefore(
"hash", "hash",
[ [
Newline, Newline,
], ],
), ),
typ: @18-36 Function( typ: @25-43 Function(
[ [
@18-19 SpaceAfter( @25-26 SpaceAfter(
BoundVariable( BoundVariable(
"a", "a",
), ),
@ -39,7 +39,7 @@ Defs(
], ],
), ),
], ],
@33-36 Apply( @40-43 Apply(
"", "",
"U64", "U64",
[], [],
@ -51,7 +51,7 @@ Defs(
], ],
value_defs: [], value_defs: [],
}, },
@38-39 SpaceBefore( @45-46 SpaceBefore(
Num( Num(
"1", "1",
), ),

View file

@ -4,7 +4,7 @@ Defs(
Index(0), Index(0),
], ],
regions: [ regions: [
@0-45, @0-52,
], ],
space_before: [ space_before: [
Slice(start = 0, length = 0), Slice(start = 0, length = 0),
@ -19,22 +19,22 @@ Defs(
name: @0-4 "Hash", name: @0-4 "Hash",
vars: [], vars: [],
}, },
loc_has: @5-8 Has, loc_implements: @5-15 Implements,
members: [ members: [
AbilityMember { AbilityMember {
name: @11-15 SpaceBefore( name: @18-22 SpaceBefore(
"hash", "hash",
[ [
Newline, Newline,
], ],
), ),
typ: @18-26 Function( typ: @25-33 Function(
[ [
@18-19 BoundVariable( @25-26 BoundVariable(
"a", "a",
), ),
], ],
@23-26 Apply( @30-33 Apply(
"", "",
"U64", "U64",
[], [],
@ -42,19 +42,19 @@ Defs(
), ),
}, },
AbilityMember { AbilityMember {
name: @29-34 SpaceBefore( name: @36-41 SpaceBefore(
"hash2", "hash2",
[ [
Newline, Newline,
], ],
), ),
typ: @37-45 Function( typ: @44-52 Function(
[ [
@37-38 BoundVariable( @44-45 BoundVariable(
"a", "a",
), ),
], ],
@42-45 Apply( @49-52 Apply(
"", "",
"U64", "U64",
[], [],
@ -66,7 +66,7 @@ Defs(
], ],
value_defs: [], value_defs: [],
}, },
@47-48 SpaceBefore( @54-55 SpaceBefore(
Num( Num(
"1", "1",
), ),

View file

@ -4,7 +4,7 @@ Defs(
Index(0), Index(0),
], ],
regions: [ regions: [
@0-37, @0-55,
], ],
space_before: [ space_before: [
Slice(start = 0, length = 0), Slice(start = 0, length = 0),
@ -19,28 +19,28 @@ Defs(
name: @0-4 "Hash", name: @0-4 "Hash",
vars: [], vars: [],
}, },
loc_has: @5-8 Has, loc_implements: @5-15 Implements,
members: [ members: [
AbilityMember { AbilityMember {
name: @9-13 "hash", name: @16-20 "hash",
typ: @16-37 Where( typ: @23-55 Where(
@16-24 Function( @23-31 Function(
[ [
@16-17 BoundVariable( @23-24 BoundVariable(
"a", "a",
), ),
], ],
@21-24 Apply( @28-31 Apply(
"", "",
"U64", "U64",
[], [],
), ),
), ),
[ [
@27-37 HasClause { @38-55 ImplementsClause {
var: @27-28 "a", var: @38-39 "a",
abilities: [ abilities: [
@33-37 Apply( @51-55 Apply(
"", "",
"Hash", "Hash",
[], [],
@ -55,7 +55,7 @@ Defs(
], ],
value_defs: [], value_defs: [],
}, },
@39-40 SpaceBefore( @57-58 SpaceBefore(
Num( Num(
"1", "1",
), ),

View file

@ -5,8 +5,8 @@ Defs(
Index(1), Index(1),
], ],
regions: [ regions: [
@0-33, @0-51,
@35-68, @53-104,
], ],
space_before: [ space_before: [
Slice(start = 0, length = 0), Slice(start = 0, length = 0),
@ -26,27 +26,27 @@ Defs(
name: @0-3 "Ab1", name: @0-3 "Ab1",
vars: [], vars: [],
}, },
loc_has: @4-7 Has, loc_implements: @4-14 Implements,
members: [ members: [
AbilityMember { AbilityMember {
name: @8-11 "ab1", name: @15-18 "ab1",
typ: @14-33 Where( typ: @21-51 Where(
@14-21 Function( @21-28 Function(
[ [
@14-15 BoundVariable( @21-22 BoundVariable(
"a", "a",
), ),
], ],
@19-21 Record { @26-28 Record {
fields: [], fields: [],
ext: None, ext: None,
}, },
), ),
[ [
@24-33 HasClause { @35-51 ImplementsClause {
var: @24-25 "a", var: @35-36 "a",
abilities: [ abilities: [
@30-33 Apply( @48-51 Apply(
"", "",
"Ab1", "Ab1",
[], [],
@ -60,30 +60,30 @@ Defs(
}, },
Ability { Ability {
header: TypeHeader { header: TypeHeader {
name: @35-38 "Ab2", name: @53-56 "Ab2",
vars: [], vars: [],
}, },
loc_has: @39-42 Has, loc_implements: @57-67 Implements,
members: [ members: [
AbilityMember { AbilityMember {
name: @43-46 "ab2", name: @68-71 "ab2",
typ: @49-68 Where( typ: @74-104 Where(
@49-56 Function( @74-81 Function(
[ [
@49-50 BoundVariable( @74-75 BoundVariable(
"a", "a",
), ),
], ],
@54-56 Record { @79-81 Record {
fields: [], fields: [],
ext: None, ext: None,
}, },
), ),
[ [
@59-68 HasClause { @88-104 ImplementsClause {
var: @59-60 "a", var: @88-89 "a",
abilities: [ abilities: [
@65-68 Apply( @101-104 Apply(
"", "",
"Ab2", "Ab2",
[], [],
@ -98,7 +98,7 @@ Defs(
], ],
value_defs: [], value_defs: [],
}, },
@70-71 SpaceBefore( @106-107 SpaceBefore(
Num( Num(
"1", "1",
), ),

View file

@ -14,15 +14,15 @@ Defs(
], ],
regions: [ regions: [
@0-7, @0-7,
@24-44, @31-62,
@61-81, @86-117,
@103-110, @146-153,
@139-146, @189-196,
@167-174, @224-231,
@201-208, @265-272,
@235-242, @306-313,
@251-271, @329-360,
@305-312, @401-408,
], ],
space_before: [ space_before: [
Slice(start = 0, length = 0), Slice(start = 0, length = 0),
@ -80,18 +80,18 @@ Defs(
[], [],
), ),
derived: Some( derived: Some(
@12-22 Has( @19-29 Implements(
[ [
@13-15 HasAbility { @20-22 ImplementsAbility {
ability: @13-15 Apply( ability: @20-22 Apply(
"", "",
"Eq", "Eq",
[], [],
), ),
impls: None, impls: None,
}, },
@17-21 HasAbility { @24-28 ImplementsAbility {
ability: @17-21 Apply( ability: @24-28 Apply(
"", "",
"Hash", "Hash",
[], [],
@ -104,18 +104,18 @@ Defs(
}, },
Opaque { Opaque {
header: TypeHeader { header: TypeHeader {
name: @24-25 "A", name: @31-32 "A",
vars: [], vars: [],
}, },
typ: @29-44 Where( typ: @36-62 Where(
@29-30 BoundVariable( @36-37 BoundVariable(
"a", "a",
), ),
[ [
@33-44 HasClause { @44-62 ImplementsClause {
var: @33-34 "a", var: @44-45 "a",
abilities: [ abilities: [
@39-44 Apply( @57-62 Apply(
"", "",
"Other", "Other",
[], [],
@ -125,18 +125,18 @@ Defs(
], ],
), ),
derived: Some( derived: Some(
@49-59 Has( @74-84 Implements(
[ [
@50-52 HasAbility { @75-77 ImplementsAbility {
ability: @50-52 Apply( ability: @75-77 Apply(
"", "",
"Eq", "Eq",
[], [],
), ),
impls: None, impls: None,
}, },
@54-58 HasAbility { @79-83 ImplementsAbility {
ability: @54-58 Apply( ability: @79-83 Apply(
"", "",
"Hash", "Hash",
[], [],
@ -149,18 +149,18 @@ Defs(
}, },
Opaque { Opaque {
header: TypeHeader { header: TypeHeader {
name: @61-62 "A", name: @86-87 "A",
vars: [], vars: [],
}, },
typ: @66-81 Where( typ: @91-117 Where(
@66-67 BoundVariable( @91-92 BoundVariable(
"a", "a",
), ),
[ [
@70-81 HasClause { @99-117 ImplementsClause {
var: @70-71 "a", var: @99-100 "a",
abilities: [ abilities: [
@76-81 Apply( @112-117 Apply(
"", "",
"Other", "Other",
[], [],
@ -170,19 +170,19 @@ Defs(
], ],
), ),
derived: Some( derived: Some(
@91-101 SpaceBefore( @134-144 SpaceBefore(
Has( Implements(
[ [
@92-94 HasAbility { @135-137 ImplementsAbility {
ability: @92-94 Apply( ability: @135-137 Apply(
"", "",
"Eq", "Eq",
[], [],
), ),
impls: None, impls: None,
}, },
@96-100 HasAbility { @139-143 ImplementsAbility {
ability: @96-100 Apply( ability: @139-143 Apply(
"", "",
"Hash", "Hash",
[], [],
@ -199,44 +199,44 @@ Defs(
}, },
Opaque { Opaque {
header: TypeHeader { header: TypeHeader {
name: @103-104 "A", name: @146-147 "A",
vars: [], vars: [],
}, },
typ: @108-110 Apply( typ: @151-153 Apply(
"", "",
"U8", "U8",
[], [],
), ),
derived: Some( derived: Some(
@115-137 Has( @165-187 Implements(
[ [
@116-123 HasAbility { @166-173 ImplementsAbility {
ability: @116-118 Apply( ability: @166-168 Apply(
"", "",
"Eq", "Eq",
[], [],
), ),
impls: Some( impls: Some(
@119-123 HasImpls( @169-173 AbilityImpls(
[ [
@120-122 LabelOnly( @170-172 LabelOnly(
@120-122 "eq", @170-172 "eq",
), ),
], ],
), ),
), ),
}, },
@125-136 HasAbility { @175-186 ImplementsAbility {
ability: @125-129 Apply( ability: @175-179 Apply(
"", "",
"Hash", "Hash",
[], [],
), ),
impls: Some( impls: Some(
@130-136 HasImpls( @180-186 AbilityImpls(
[ [
@131-135 LabelOnly( @181-185 LabelOnly(
@131-135 "hash", @181-185 "hash",
), ),
], ],
), ),
@ -248,31 +248,31 @@ Defs(
}, },
Opaque { Opaque {
header: TypeHeader { header: TypeHeader {
name: @139-140 "A", name: @189-190 "A",
vars: [], vars: [],
}, },
typ: @144-146 Apply( typ: @194-196 Apply(
"", "",
"U8", "U8",
[], [],
), ),
derived: Some( derived: Some(
@151-165 Has( @208-222 Implements(
[ [
@152-164 HasAbility { @209-221 ImplementsAbility {
ability: @152-154 Apply( ability: @209-211 Apply(
"", "",
"Eq", "Eq",
[], [],
), ),
impls: Some( impls: Some(
@155-164 HasImpls( @212-221 AbilityImpls(
[ [
@156-158 LabelOnly( @213-215 LabelOnly(
@156-158 "eq", @213-215 "eq",
), ),
@160-163 LabelOnly( @217-220 LabelOnly(
@160-163 "eq1", @217-220 "eq1",
), ),
], ],
), ),
@ -284,38 +284,38 @@ Defs(
}, },
Opaque { Opaque {
header: TypeHeader { header: TypeHeader {
name: @167-168 "A", name: @224-225 "A",
vars: [], vars: [],
}, },
typ: @172-174 Apply( typ: @229-231 Apply(
"", "",
"U8", "U8",
[], [],
), ),
derived: Some( derived: Some(
@179-199 Has( @243-263 Implements(
[ [
@180-192 HasAbility { @244-256 ImplementsAbility {
ability: @180-182 Apply( ability: @244-246 Apply(
"", "",
"Eq", "Eq",
[], [],
), ),
impls: Some( impls: Some(
@183-192 HasImpls( @247-256 AbilityImpls(
[ [
@184-186 LabelOnly( @248-250 LabelOnly(
@184-186 "eq", @248-250 "eq",
), ),
@188-191 LabelOnly( @252-255 LabelOnly(
@188-191 "eq1", @252-255 "eq1",
), ),
], ],
), ),
), ),
}, },
@194-198 HasAbility { @258-262 ImplementsAbility {
ability: @194-198 Apply( ability: @258-262 Apply(
"", "",
"Hash", "Hash",
[], [],
@ -328,39 +328,39 @@ Defs(
}, },
Opaque { Opaque {
header: TypeHeader { header: TypeHeader {
name: @201-202 "A", name: @265-266 "A",
vars: [], vars: [],
}, },
typ: @206-208 Apply( typ: @270-272 Apply(
"", "",
"U8", "U8",
[], [],
), ),
derived: Some( derived: Some(
@213-233 Has( @284-304 Implements(
[ [
@214-218 HasAbility { @285-289 ImplementsAbility {
ability: @214-218 Apply( ability: @285-289 Apply(
"", "",
"Hash", "Hash",
[], [],
), ),
impls: None, impls: None,
}, },
@220-232 HasAbility { @291-303 ImplementsAbility {
ability: @220-222 Apply( ability: @291-293 Apply(
"", "",
"Eq", "Eq",
[], [],
), ),
impls: Some( impls: Some(
@223-232 HasImpls( @294-303 AbilityImpls(
[ [
@224-226 LabelOnly( @295-297 LabelOnly(
@224-226 "eq", @295-297 "eq",
), ),
@228-231 LabelOnly( @299-302 LabelOnly(
@228-231 "eq1", @299-302 "eq1",
), ),
], ],
), ),
@ -372,34 +372,34 @@ Defs(
}, },
Opaque { Opaque {
header: TypeHeader { header: TypeHeader {
name: @235-236 "A", name: @306-307 "A",
vars: [], vars: [],
}, },
typ: @240-242 Apply( typ: @311-313 Apply(
"", "",
"U8", "U8",
[], [],
), ),
derived: Some( derived: Some(
@247-249 Has( @325-327 Implements(
[], [],
), ),
), ),
}, },
Opaque { Opaque {
header: TypeHeader { header: TypeHeader {
name: @251-252 "A", name: @329-330 "A",
vars: [], vars: [],
}, },
typ: @256-271 Where( typ: @334-360 Where(
@256-257 BoundVariable( @334-335 BoundVariable(
"a", "a",
), ),
[ [
@260-271 HasClause { @342-360 ImplementsClause {
var: @260-261 "a", var: @342-343 "a",
abilities: [ abilities: [
@266-271 Apply( @355-360 Apply(
"", "",
"Other", "Other",
[], [],
@ -409,36 +409,36 @@ Defs(
], ],
), ),
derived: Some( derived: Some(
@281-303 SpaceBefore( @377-399 SpaceBefore(
Has( Implements(
[ [
@282-289 HasAbility { @378-385 ImplementsAbility {
ability: @282-284 Apply( ability: @378-380 Apply(
"", "",
"Eq", "Eq",
[], [],
), ),
impls: Some( impls: Some(
@285-289 HasImpls( @381-385 AbilityImpls(
[ [
@286-288 LabelOnly( @382-384 LabelOnly(
@286-288 "eq", @382-384 "eq",
), ),
], ],
), ),
), ),
}, },
@291-302 HasAbility { @387-398 ImplementsAbility {
ability: @291-295 Apply( ability: @387-391 Apply(
"", "",
"Hash", "Hash",
[], [],
), ),
impls: Some( impls: Some(
@296-302 HasImpls( @392-398 AbilityImpls(
[ [
@297-301 LabelOnly( @393-397 LabelOnly(
@297-301 "hash", @393-397 "hash",
), ),
], ],
), ),
@ -454,25 +454,25 @@ Defs(
}, },
Opaque { Opaque {
header: TypeHeader { header: TypeHeader {
name: @305-306 "A", name: @401-402 "A",
vars: [], vars: [],
}, },
typ: @310-312 Apply( typ: @406-408 Apply(
"", "",
"U8", "U8",
[], [],
), ),
derived: Some( derived: Some(
@317-324 Has( @420-427 Implements(
[ [
@318-323 HasAbility { @421-426 ImplementsAbility {
ability: @318-320 Apply( ability: @421-423 Apply(
"", "",
"Eq", "Eq",
[], [],
), ),
impls: Some( impls: Some(
@321-323 HasImpls( @424-426 AbilityImpls(
[], [],
), ),
), ),
@ -484,7 +484,7 @@ Defs(
], ],
value_defs: [], value_defs: [],
}, },
@326-327 SpaceBefore( @429-430 SpaceBefore(
Num( Num(
"0", "0",
), ),

View file

@ -4,7 +4,7 @@ Defs(
Index(2147483648), Index(2147483648),
], ],
regions: [ regions: [
@0-27, @0-38,
], ],
space_before: [ space_before: [
Slice(start = 0, length = 0), Slice(start = 0, length = 0),
@ -19,7 +19,7 @@ Defs(
@0-1 Identifier( @0-1 Identifier(
"f", "f",
), ),
@4-27 Where( @4-38 Where(
@4-16 Function( @4-16 Function(
[ [
@4-5 BoundVariable( @4-5 BoundVariable(
@ -38,10 +38,10 @@ Defs(
), ),
), ),
[ [
@20-27 HasClause { @24-38 ImplementsClause {
var: @20-21 "a", var: @24-25 "a",
abilities: [ abilities: [
@26-27 Apply( @37-38 Apply(
"", "",
"A", "A",
[], [],
@ -53,7 +53,7 @@ Defs(
), ),
], ],
}, },
@29-30 SpaceBefore( @40-41 SpaceBefore(
Var { Var {
module_name: "", module_name: "",
ident: "f", ident: "f",

View file

@ -5,8 +5,8 @@ Defs(
Index(2147483649), Index(2147483649),
], ],
regions: [ regions: [
@0-55, @0-73,
@57-118, @75-154,
], ],
space_before: [ space_before: [
Slice(start = 0, length = 0), Slice(start = 0, length = 0),
@ -26,7 +26,7 @@ Defs(
@0-1 Identifier( @0-1 Identifier(
"f", "f",
), ),
@4-55 Where( @4-73 Where(
@4-10 Function( @4-10 Function(
[ [
@4-5 BoundVariable( @4-5 BoundVariable(
@ -38,35 +38,35 @@ Defs(
), ),
), ),
[ [
@13-28 HasClause { @17-39 ImplementsClause {
var: @13-14 "a", var: @17-18 "a",
abilities: [ abilities: [
@19-23 Apply( @30-34 Apply(
"", "",
"Hash", "Hash",
[], [],
), ),
@26-28 Apply( @37-39 Apply(
"", "",
"Eq", "Eq",
[], [],
), ),
], ],
}, },
@30-55 HasClause { @41-73 ImplementsClause {
var: @30-31 "b", var: @41-42 "b",
abilities: [ abilities: [
@36-38 Apply( @54-56 Apply(
"", "",
"Eq", "Eq",
[], [],
), ),
@41-45 Apply( @59-63 Apply(
"", "",
"Hash", "Hash",
[], [],
), ),
@48-55 Apply( @66-73 Apply(
"", "",
"Display", "Display",
[], [],
@ -77,18 +77,18 @@ Defs(
), ),
), ),
Annotation( Annotation(
@57-58 Identifier( @75-76 Identifier(
"f", "f",
), ),
@61-118 Where( @79-154 Where(
@61-67 SpaceAfter( @79-85 SpaceAfter(
Function( Function(
[ [
@61-62 BoundVariable( @79-80 BoundVariable(
"a", "a",
), ),
], ],
@66-67 BoundVariable( @84-85 BoundVariable(
"b", "b",
), ),
), ),
@ -97,40 +97,40 @@ Defs(
], ],
), ),
[ [
@72-87 HasClause { @94-116 ImplementsClause {
var: @72-73 "a", var: @94-95 "a",
abilities: [ abilities: [
@78-82 Apply( @107-111 Apply(
"", "",
"Hash", "Hash",
[], [],
), ),
@85-87 Apply( @114-116 Apply(
"", "",
"Eq", "Eq",
[], [],
), ),
], ],
}, },
@93-118 HasClause { @122-154 ImplementsClause {
var: @93-94 SpaceBefore( var: @122-123 SpaceBefore(
"b", "b",
[ [
Newline, Newline,
], ],
), ),
abilities: [ abilities: [
@99-103 Apply( @135-139 Apply(
"", "",
"Hash", "Hash",
[], [],
), ),
@106-113 Apply( @142-149 Apply(
"", "",
"Display", "Display",
[], [],
), ),
@116-118 Apply( @152-154 Apply(
"", "",
"Eq", "Eq",
[], [],
@ -142,7 +142,7 @@ Defs(
), ),
], ],
}, },
@120-121 SpaceBefore( @156-157 SpaceBefore(
Var { Var {
module_name: "", module_name: "",
ident: "f", ident: "f",

View file

@ -4,7 +4,7 @@ Defs(
Index(2147483648), Index(2147483648),
], ],
regions: [ regions: [
@0-48, @0-73,
], ],
space_before: [ space_before: [
Slice(start = 0, length = 0), Slice(start = 0, length = 0),
@ -19,7 +19,7 @@ Defs(
@0-1 Identifier( @0-1 Identifier(
"f", "f",
), ),
@4-48 Where( @4-73 Where(
@4-16 Function( @4-16 Function(
[ [
@4-5 BoundVariable( @4-5 BoundVariable(
@ -38,30 +38,30 @@ Defs(
), ),
), ),
[ [
@20-27 HasClause { @24-38 ImplementsClause {
var: @20-21 "a", var: @24-25 "a",
abilities: [ abilities: [
@26-27 Apply( @37-38 Apply(
"", "",
"A", "A",
[], [],
), ),
], ],
}, },
@29-37 HasClause { @40-55 ImplementsClause {
var: @29-30 "b", var: @40-41 "b",
abilities: [ abilities: [
@35-37 Apply( @53-55 Apply(
"", "",
"Eq", "Eq",
[], [],
), ),
], ],
}, },
@39-48 HasClause { @57-73 ImplementsClause {
var: @39-40 "c", var: @57-58 "c",
abilities: [ abilities: [
@45-48 Apply( @70-73 Apply(
"", "",
"Ord", "Ord",
[], [],
@ -73,7 +73,7 @@ Defs(
), ),
], ],
}, },
@50-51 SpaceBefore( @75-76 SpaceBefore(
Var { Var {
module_name: "", module_name: "",
ident: "f", ident: "f",

View file

@ -1,3 +1,3 @@
f : a -> (b -> c) where a implements Hash, b has Eq, c implements Ord f : a -> (b -> c) where a implements Hash, b implements Eq, c implements Ord
f f

View file

@ -4,7 +4,7 @@ Defs(
Index(2147483648), Index(2147483648),
], ],
regions: [ regions: [
@0-67, @0-92,
], ],
space_before: [ space_before: [
Slice(start = 0, length = 0), Slice(start = 0, length = 0),
@ -19,7 +19,7 @@ Defs(
@0-1 Identifier( @0-1 Identifier(
"f", "f",
), ),
@4-67 Where( @4-92 Where(
@4-16 SpaceAfter( @4-16 SpaceAfter(
Function( Function(
[ [
@ -43,40 +43,40 @@ Defs(
], ],
), ),
[ [
@24-34 HasClause { @28-45 ImplementsClause {
var: @24-25 "a", var: @28-29 "a",
abilities: [ abilities: [
@30-34 Apply( @41-45 Apply(
"", "",
"Hash", "Hash",
[], [],
), ),
], ],
}, },
@42-50 HasClause { @53-68 ImplementsClause {
var: @42-43 SpaceBefore( var: @53-54 SpaceBefore(
"b", "b",
[ [
Newline, Newline,
], ],
), ),
abilities: [ abilities: [
@48-50 Apply( @66-68 Apply(
"", "",
"Eq", "Eq",
[], [],
), ),
], ],
}, },
@58-67 HasClause { @76-92 ImplementsClause {
var: @58-59 SpaceBefore( var: @76-77 SpaceBefore(
"c", "c",
[ [
Newline, Newline,
], ],
), ),
abilities: [ abilities: [
@64-67 Apply( @89-92 Apply(
"", "",
"Ord", "Ord",
[], [],
@ -88,7 +88,7 @@ Defs(
), ),
], ],
}, },
@69-70 SpaceBefore( @94-95 SpaceBefore(
Var { Var {
module_name: "", module_name: "",
ident: "f", ident: "f",

View file

@ -4,7 +4,7 @@ Defs(
Index(2147483648), Index(2147483648),
], ],
regions: [ regions: [
@0-15, @0-26,
], ],
space_before: [ space_before: [
Slice(start = 0, length = 0), Slice(start = 0, length = 0),
@ -19,15 +19,15 @@ Defs(
@0-1 Identifier( @0-1 Identifier(
"f", "f",
), ),
@4-15 Where( @4-26 Where(
@4-5 BoundVariable( @4-5 BoundVariable(
"a", "a",
), ),
[ [
@8-15 HasClause { @12-26 ImplementsClause {
var: @8-9 "a", var: @12-13 "a",
abilities: [ abilities: [
@14-15 Apply( @25-26 Apply(
"", "",
"A", "A",
[], [],
@ -39,7 +39,7 @@ Defs(
), ),
], ],
}, },
@17-18 SpaceBefore( @28-29 SpaceBefore(
Var { Var {
module_name: "", module_name: "",
ident: "f", ident: "f",

View file

@ -4,7 +4,7 @@ Defs(
Index(2147483648), Index(2147483648),
], ],
regions: [ regions: [
@0-29, @0-40,
], ],
space_before: [ space_before: [
Slice(start = 0, length = 0), Slice(start = 0, length = 0),
@ -19,7 +19,7 @@ Defs(
@0-1 Identifier( @0-1 Identifier(
"f", "f",
), ),
@4-29 Where( @4-40 Where(
@4-12 SpaceAfter( @4-12 SpaceAfter(
Function( Function(
[ [
@ -38,10 +38,10 @@ Defs(
], ],
), ),
[ [
@19-29 HasClause { @23-40 ImplementsClause {
var: @19-20 "a", var: @23-24 "a",
abilities: [ abilities: [
@25-29 Apply( @36-40 Apply(
"", "",
"Hash", "Hash",
[], [],
@ -53,7 +53,7 @@ Defs(
), ),
], ],
}, },
@31-32 SpaceBefore( @42-43 SpaceBefore(
Var { Var {
module_name: "", module_name: "",
ident: "f", ident: "f",