Merge remote-tracking branch 'origin/main' into repl

This commit is contained in:
Richard Feldman 2022-10-31 20:49:28 -04:00
commit 220c362671
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
93 changed files with 2865 additions and 1771 deletions

View file

@ -257,10 +257,10 @@ mod test {
When it failed, these variables had these values:
a : Num a
a : Num *
a = 1
b : Num a
b : Num *
b = 2
"#
),
@ -354,7 +354,7 @@ mod test {
expect
items = [0, 1]
expected : Result I64 [OutOfBounds]*
expected : Result I64 [OutOfBounds]
expected = Ok 42
List.get items 0 == expected
@ -366,17 +366,17 @@ mod test {
5> expect
6> items = [0, 1]
7> expected : Result I64 [OutOfBounds]*
7> expected : Result I64 [OutOfBounds]
8> expected = Ok 42
9>
10> List.get items 0 == expected
When it failed, these variables had these values:
items : List (Num a)
items : List (Num *)
items = [0, 1]
expected : Result I64 [OutOfBounds]*
expected : Result I64 [OutOfBounds]
expected = Ok 42
"#
),
@ -455,10 +455,10 @@ mod test {
When it failed, these variables had these values:
vec1 : { x : Frac a, y : Frac b }
vec1 : { x : Frac *, y : Frac * }
vec1 = { x: 1, y: 2 }
vec2 : { x : Frac a, y : Frac b }
vec2 : { x : Frac *, y : Frac * }
vec2 = { x: 4, y: 8 }
"#
),
@ -641,10 +641,10 @@ mod test {
When it failed, these variables had these values:
a : [Ok Str]a
a : [Ok Str]
a = Ok "Astra mortemque praestare gradatim"
b : [Err Str]a
b : [Err Str]
b = Err "Profundum et fundamentum"
"#
),