Skip to content

Build failure with GHC 8.2 #27

@snoyberg

Description

@snoyberg
[ 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
   |                  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions