-
> I'm the author and maintainer of `monoid-subclasses` which is kinda in the same space. I'd be motivated to bring the two libraries together if there's any technical reason to do so.
_Originally p…
-
I had a performance issue that I tracked down to the monoid instance. I had many frames that I wanted to merge vertically. Turned out to be substantially faster to take each frame, make it a list of r…
-
# 定义
1. [fantasy land](https://github.com/fantasyland/fantasy-land#monoid)
2. 设一个非空集合G,G上定义的二元运算*满足:
- 封闭性:对于任意a, b ∈ G,有 a * b ∈ G;
- 结合性:对于任意a, b, c ∈ G,有 (a * b) * c = a * (b * c);
- 单位元:存…
-
Port [Monoid structure](https://github.com/ARK-Builders/arklib-android/blob/main/lib/src/main/java/dev/arkbuilders/arklib/data/storage/Monoid.kt) used during conflicts resolution. It's naive approach …
-
## Data.Monoid
- [x] [Dual](https://www.stackage.org/haddock/lts-13.6/base-4.12.0.0/Data-Monoid.html#t:Dual)
- [x] [Endo](https://www.stackage.org/haddock/lts-13.6/base-4.12.0.0/Data-Monoid.html#t…
-
Could we have an instance of `Monoid` for `BitPut ()`?
-
I'm thinking how to express a commutative monoid using this framework.
For a monoid, I can do this:
``` julia
@traitdef Monoid{X} begin
mempty( ::X ) -> X
mappend( X, X ) -> X
end
immutable…
-
http://eng.42go.com/a-simple-time-decaying-approximate-membership-filter/
This stores each item T in each of it's hash bucket indices (so it is considerably larger than a normal bloom filter), but it…
-
On the model of
* `Algebra.Definitions.RawMonoid`
* `Algebra.Properties.Monoid.*`
Introducing the 'obvious' action(s) of type `ℤ → Carrier → Carrier`.
Plus: additional properties in the `Abel…
-
For types other than `'[]`