mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 00:10:31 +03:00
08a35d694c
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
32 lines
1014 B
Plaintext
32 lines
1014 B
Plaintext
1/1: Building Error1 (Error1.idr)
|
|
Error: While processing right hand side of wrong. Can't find an implementation for Show (Vect 4 Integer).
|
|
|
|
Error1.idr:8:9--8:40
|
|
|
|
|
8 | wrong = show (the (Vect _ _) [1,2,3,4])
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
1/1: Building Error2 (Error2.idr)
|
|
Error: While processing right hand side of show. Multiple solutions found in search of:
|
|
Show (Vect k Integer)
|
|
|
|
Error2.idr:13:38--13:45
|
|
|
|
|
13 | show (x :: xs) = show x ++ ", " ++ show xs
|
|
| ^^^^^^^
|
|
|
|
Possible correct results:
|
|
Show implementation at Error2.idr:11:1--13:45
|
|
Show implementation at Error2.idr:7:1--9:45
|
|
Error: While processing right hand side of wrong. Multiple solutions found in search of:
|
|
Show (Vect 1 Integer)
|
|
|
|
Error2.idr:16:9--16:34
|
|
|
|
|
16 | wrong = show (the (Vect _ _) [1])
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
Possible correct results:
|
|
Show implementation at Error2.idr:11:1--13:45
|
|
Show implementation at Error2.idr:7:1--9:45
|