Module
Data.List.Safe
- Package
- purescript-safelist
- Repository
- garyb/purescript-safelist
#toNEL Source
toNEL :: forall a. SafeList NonEmpty a -> NonEmptyList a
Converts a known-to-be-non-empty SafeList
into a NonEmptyList
.
#toUnfoldable Source
toUnfoldable :: forall f t a. Unfoldable f => SafeList t a -> f a
Converts a SafeList
into some unfoldable structure.
#mkSafeListX Source
mkSafeListX :: forall t a. SafeList t a -> SafeListX a
#unSafeListX Source
unSafeListX :: forall a r. (forall t. SafeList t a -> r) -> SafeListX a -> r
- Modules
- Data.
List. Safe