Module

Data.List.Lazy.NonEmpty

#toUnfoldable

#fromFoldable

fromFoldable :: forall f a. Foldable f => f a -> Maybe (NonEmptyList a)

#fromList

fromList :: forall a. List a -> Maybe (NonEmptyList a)

#singleton

singleton :: forall a. a -> NonEmptyList a

#repeat

repeat :: forall a. a -> NonEmptyList a

#iterate

iterate :: forall a. (a -> a) -> a -> NonEmptyList a

#head

head :: forall a. NonEmptyList a -> a

#last

last :: forall a. NonEmptyList a -> a

#uncons

uncons :: forall a. NonEmptyList a -> { head :: a, tail :: List a }

#length

length :: forall a. NonEmptyList a -> Int

#concatMap

concatMap :: forall a b. (a -> NonEmptyList b) -> NonEmptyList a -> NonEmptyList b

#appendFoldable

appendFoldable :: forall t a. Foldable t => NonEmptyList a -> t a -> NonEmptyList a

Re-exports from Data.List.Lazy.Types

Modules