Idris2/tests/idris2/reg048/expected
Edwin Brady 68db9fe0fe Add reg048 files
Odd, I thought I added these before, but it's probably because I got in
a mess with git and didn't re-add once I resolved that.
2021-07-19 00:21:28 +01:00

14 lines
411 B
Plaintext

1/1: Building inferror (inferror.idr)
Error: While processing right hand side of g. Ambiguous elaboration. Possible results:
Data.SortedMap.toList m
Prelude.toList ?arg
inferror:9:17--9:23
5 | f m = case sortBy (\(x, _), (y, _) => compare x y) (SortedMap.toList m) of
6 | as => as
7 |
8 | g : Ord k => SortedMap k v -> List (k, v)
9 | g m = let kvs = toList m in
^^^^^^