./devel/hs-monoidal-containers, Containers with monoidal accumulation

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.6.2.0, Package name: hs-monoidal-containers-0.6.2.0, Maintainer: pkgsrc-users

Containers with merging via monoidal accumulation. The Monoid instances
provided by the "containers" and "unordered-containers" packages merge
structures in a left-biased manner instead of using the underlying monoidal
structure of the value.

This package wraps the types provided by these packages, but provides
Monoid instances implemented in terms of the value type's mappend. For
instance, the Monoid Map instance looks like,

instance (Ord k, Semigroup a) => Monoid (MonoidalMap k a)


Master sites:

Filesize: 12.566 KB

Version history: (Expand)


CVS history: (Expand)


   2022-09-07 04:57:02 by Masatake Daimon | Files touched by this commit (5)
Log message:
devel/hs-monoidal-containers: import hs-monoidal-containers-0.6.2.0

Containers with merging via monoidal accumulation. The Monoid instances
provided by the "containers" and "unordered-containers" \ 
packages merge
structures in a left-biased manner instead of using the underlying monoidal
structure of the value.

This package wraps the types provided by these packages, but provides
Monoid instances implemented in terms of the value type's mappend. For
instance, the Monoid Map instance looks like,

  instance (Ord k, Semigroup a) => Monoid (MonoidalMap k a)