Error about overlapping instances

Anonymous Coward 2018-03-05 10:38:35.631037 UTC

1Overlapping instances for Data.Type.Map.Submap
2 (Data.Type.Map.Nub
3 (Data.Type.Set.Sort
4 (Rgr.Pipeline.Internal.Grid.MappingsF UVector gridFields)))
5 '["alpha" 'Data.Type.Map.:-> Data.Vector.Unboxed.Base.Vector Int,
6 ...]
7 arising from a use of ‘project’
8 Matching instances:
9 two instances involving out-of-scope types
10 instance [overlappable] [safe] Data.Type.Map.Submap s t =>
11 Data.Type.Map.Submap s (x : t)
12 -- Defined in ‘Data.Type.Map’
13 instance [overlap ok] [safe] Data.Type.Map.Submap s t =>
14 Data.Type.Map.Submap (x : s) (x : t)
15 -- Defined in ‘Data.Type.Map’