first<A1> method

  1. @override
Tuple<A1, B> first<A1>(
  1. A1 fn(
    1. A
    )
)
inherited

Map the left A value into an A1 with the fn mapper, while keeping the right value untouched.

Implementation

@override
Tuple<A1, B> first<A1>(A1 Function(A) fn) => bimap(a: fn, b: _identity);