mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-19 10:51:35 +03:00
558776c4c4
otherwise all tests will need to change every time version changes...
21 lines
505 B
Plaintext
21 lines
505 B
Plaintext
"Nat"
|
|
"List of Nat"
|
|
"List of Something else"
|
|
"List of Something else"
|
|
"List of Bool"
|
|
"Int"
|
|
"Something else"
|
|
"List of Type"
|
|
"List of Int"
|
|
43
|
|
42
|
|
1/1: Building TypeCase (TypeCase.idr)
|
|
Welcome to Idris 2. Enjoy yourself!
|
|
Main> Main> Main.strangeId is total
|
|
Main> Main.strangeId':
|
|
strangeId' _
|
|
Main> Bye for now!
|
|
1/1: Building TypeCase2 (TypeCase2.idr)
|
|
TypeCase2.idr:5:1--6:1:Attempt to match on erased argument Nat in Main.strangeId
|
|
TypeCase2.idr:9:1--10:1:Attempt to match on erased argument Nat in Main.foo
|