fold<C> abstract method

C fold<C>(
  1. C onLeft(
    1. L left
    ),
  2. C onRight(
    1. R right
    )
)

Implementation

C fold<C>(
  C Function(L left) onLeft,
  C Function(R right) onRight,
);