-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
I'd quite like this to hold:
fromFoldable (a <> b) == fromFoldable a <> fromFoldable b
fromFoldable
is repeated insertion by foldl
. I assume the reason is to match Haskell's fromList
which uses foldl'
, which makes sense for lists.
(<>)
is union
is unionWith const
and that simple implementation seems to be the only reason (and Haskell does it that way).
What do people think?
garybhdgarrood, natefaubion and rhendric
Metadata
Metadata
Assignees
Labels
No labels