instance<A> static method

Semilattice<A> instance<A>(
  1. A f(
    1. A a1,
    2. A a2
    )
)
override

Create a Semilattice instance from the given function.

Implementation

static Semilattice<A> instance<A>(A Function(A a1, A a2) f) =>
    _Semilattice(f);