nboldi / references

First-class functional references generalized for monadic and IO computations.
http://hackage.haskell.org/package/references
BSD 3-Clause "New" or "Revised" License
4 stars 5 forks source link

Build failure with GHC 8.2 #27

Open snoyberg opened 7 years ago

snoyberg commented 7 years ago
[ 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
   |                  
nboldi commented 7 years ago

Solved in a minor release http://hackage.haskell.org/package/references-0.3.2.2, please check if it resolves all compilation errors in GHC 8.2