Util.Alternative
Description
Utilities related to Alternative.
Alternative
someNE :: Alternative f => f a -> f (NonEmpty a) Source #
This function is the same as some except that it returns NonEmpty, because some is guaranteed to return non-empty list, but it's not captured in types.
some
NonEmpty