morley-1.7.0: Developer tools for the Michelson Language
Safe HaskellNone
LanguageHaskell2010

Util.Alternative

Description

Utilities related to Alternative.

Synopsis

Documentation

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.