Open bgavran opened 5 years ago
This is fixed in my fork (https://github.com/clayrat/Idris-Profunctors/)
Using verson by @clayrat , i'm getting the followig error with idris 1.3.2 , any idea?
Entering directory `./src'`
Type checking ./Data/Profunctor/Traversal/Index.idr
./Data/Profunctor/Traversal/Index.idr:17:1-34:
|
17 | Wander p => Index p (Maybe a) () a where
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When checking type of Data.Profunctor.Traversal.Index.p, Maybe a, (), a implementation of Data.Profunctor.Traversal.Index.Index:
When checking argument m to type constructor Data.Profunctor.Traversal.Index.Index:
No such variable Maybe
./Data/Profunctor/Traversal/Index.idr:21:1-48:
|
21 | (Wander p, Ord k) => Index p (SortedMap k v) k v where
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When checking type of Data.Profunctor.Traversal.Index.p, SortedMap k v, k, v implementation of Data.Profunctor.Traversal.Index.Index:
No such variable Ord
./Data/Profunctor/Traversal/Index.idr:25:1-47:
|
25 | (Wander p, Ord a) => Index p (SortedSet a) a () where
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When checking type of Data.Profunctor.Traversal.Index.p, SortedSet a, a, () implementation of Data.Profunctor.Traversal.Index.Index:
No such variable Ord
When running
idris --install profunctors.ipkg
I get the following error messages: