last<A> static method

Semigroup<A> last<A>()

Create a Semigroup instance that always returns the righthand side.

Implementation

static Semigroup<A> last<A>() => _Semigroup((x, y) => y);