[ 6 of 14] Compiling Control.Reference.Predefined.Containers ( Control/Reference/Predefined/Containers.hs, dist/build/Control/Reference/Predefined/Containers.o )
Control/Reference/Predefined/Containers.hs:40:42: error:
Ambiguous occurrence ‘splitAt’
It could refer to either ‘Prelude.splitAt’,
imported from ‘Prelude’ at Control/Reference/Predefined/Containers.hs:6:8-46
(and originally defined in ‘GHC.List’)
or ‘Map.splitAt’,
imported from ‘Data.Map’ at Control/Reference/Predefined/Containers.hs:14:1-22
(and originally defined in ‘Data.Map.Internal’)
|
40 | upd f ls = let (before,rest) = splitAt i ls
|