← Back

Source

Monoidal

interface Monoidal<F> extends Functor<F> {
  readonly unit: () => HKT<F, void>
  readonly mult: <A, B>(fa: HKT<F, A>, fb: HKT<F, B>) => HKT<F, [A, B]>
}

Added in v1.0.0 (type class)

Applicative functors are equivalent to strong lax monoidal functors

fromApplicative

fromApplicative<F>(applicative: Applicative<F>): Monoidal<F>

Added in v1.0.0 (function)

toApplicative

toApplicative<F>(monoidal: Monoidal<F>): Applicative<F>

Added in v1.0.0 (function)