effect-ts-laws
    Preparing search index...

    Interface Dual<A>

    A Monoid with the combine arguments flipped.

    interface Dual<A> {
        combine: (self: A, that: A) => A;
        combineAll: (collection: Iterable<A>) => A;
        combineMany: (self: A, collection: Iterable<A>) => A;
        empty: A;
    }

    Type Parameters

    • A

    Hierarchy

    • Monoid<A>
      • Dual
    Index

    Properties

    combine: (self: A, that: A) => A
    combineAll: (collection: Iterable<A>) => A
    combineMany: (self: A, collection: Iterable<A>) => A
    empty: A