first<A> function

BaseSemigroup<A> first<A>()

Creates a semigroup that always selects the first of two elements.

Implementation

BaseSemigroup<A> first<A>() => _FirstSemigroup<A>();