fold<T> abstract method

T fold<T>(
  1. Map1<L, T> leftFunction,
  2. Map1<R, T> rightFunction
)

Returns the appropriate transformation to type T.

Implementation

T fold<T>(
  Map1<L, T> leftFunction,
  Map1<R, T> rightFunction,
);