2020-05-19 20:25:18 +03:00
|
|
|
1/1: Building Ambig1 (Ambig1.idr)
|
|
|
|
Main> Bye for now!
|
|
|
|
1/1: Building Ambig2 (Ambig2.idr)
|
2020-07-28 15:11:42 +03:00
|
|
|
Error: While processing right hand side of keepUnique. Ambiguous elaboration. Possible results:
|
2021-10-31 01:08:53 +03:00
|
|
|
Main.Set.toList (Main.Set.fromList xs)
|
|
|
|
Main.Vect.toList (Main.Vect.fromList xs)
|
2020-07-28 15:11:42 +03:00
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
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
|
2020-07-28 15:11:42 +03:00
|
|
|
26 | keepUnique {b} xs = toList (fromList xs)
|
2021-02-11 20:24:26 +03:00
|
|
|
^^^^^^
|
2020-07-28 15:11:42 +03:00
|
|
|
|
2020-05-19 20:25:18 +03:00
|
|
|
Main> Bye for now!
|