This is rather surprising: ```haskell > fromListWith (++) [(False,"x"),(False,"y")] fromList [(False,"yx")] ``` "Intuitively", the value in the result should be `"xy"`. Note that the versions of `fromListWith[Key]` in `Data.Map` and `Data.IntMap` from `containers` have the same issue.
Activity
sjakobi commentedon Jun 2, 2020
@treeowl suggested less ambiguous types for versions of
fromListWithKey
in #246 (comment):(where
data Box a = Box a
)sjakobi commentedon Jun 3, 2020
FWIW, there's another issue about
fromListWith
, but that one seems to be primarily concerned with performance: #162traverseKeys
andtraverseKeysWith
haskell/containers#771