Idris2/tests/idris2/basic003/expected

17 lines
485 B
Plaintext
Raw Normal View History

1/1: Building Ambig1 (Ambig1.idr)
Main> Bye for now!
1/1: Building Ambig2 (Ambig2.idr)
Error: While processing right hand side of keepUnique. Ambiguous elaboration. Possible results:
Main.Set.toList (Main.Set.fromList xs)
Main.Vect.toList (Main.Vect.fromList xs)
Ambig2:26:21--26:27
2021-02-11 20:24:26 +03:00
22 | export
23 | fromList : List a -> Set a
24 |
25 | keepUnique : List b -> List b
26 | keepUnique {b} xs = toList (fromList xs)
2021-02-11 20:24:26 +03:00
^^^^^^
Main> Bye for now!