MaybeIterableCatamorph<T> extension

Extension for catamorphing an Iterable of Maybes discarding Nones.

on

Methods

cataMaybes() Iterable<T>

Available on Iterable<Maybe<T>>, provided by the MaybeIterableCatamorph extension

Catamorph an iterable of Maybe<T>s into an iterable of T, keeping the Just values and discarding the None values.