Module
Data.NonEmpty
- Package
- purescript-nonempty
- Repository
- purescript/purescript-nonempty
This module defines a generic non-empty data structure, which adds an additional element to any container type.
#NonEmpty Source
#(:|) Source
Operator alias for Data.NonEmpty.NonEmpty (right-associative / precedence 5)
An infix synonym for NonEmpty
.
#fromNonEmpty Source
fromNonEmpty :: forall r a f. (a -> f a -> r) -> NonEmpty f a -> r
#oneOf Source
oneOf :: forall a f. Alternative f => NonEmpty f a -> f a
- Modules
- Data.
NonEmpty