This repository was archived by the owner on Oct 4, 2020. It is now read-only.
This repository was archived by the owner on Oct 4, 2020. It is now read-only.
Add Alt
and Plus
instances #66
Open
Description
Both Map k
and StrMap
should be instances of Alt
and Plus
, with union
and empty
as the corresponding methods.
Also, something odd I've noticed: While Map k a
has a Semigroup
instance as long as Ord k
, StrMap a
seems to require a Semigroup a
instance... which means if I have a type Foo
with no Semigroup
instance, I have a Monoid
instance for Map String Foo
but not StrMap Foo
, which is... odd, to say the least.
Metadata
Metadata
Assignees
Labels
No labels