Module
Data.List.Lazy.Types
- Package
- purescript-lists
- Repository
- purescript/purescript-lists
#List Source
newtype List a
A lazy linked list.
Constructors
Instances
Newtype (List a) _
(Show a) => Show (List a)
(Eq a) => Eq (List a)
Eq1 List
(Ord a) => Ord (List a)
Ord1 List
Lazy (List a)
Semigroup (List a)
Monoid (List a)
Functor List
Foldable List
Unfoldable List
Traversable List
Apply List
Applicative List
Bind List
Monad List
Alt List
Plus List
Alternative List
MonadZero List
MonadPlus List
Extend List
#(:) Source
Operator alias for Data.List.Lazy.Types.cons (right-associative / precedence 6)
An infix alias for cons
; attaches an element to the front of
a list.
Running time: O(1)
#NonEmptyList Source
newtype NonEmptyList a
Constructors
NonEmptyList (Lazy (NonEmpty List a))
Instances
Newtype (NonEmptyList a) _
(Eq a) => Eq (NonEmptyList a)
(Ord a) => Ord (NonEmptyList a)
(Show a) => Show (NonEmptyList a)
Functor NonEmptyList
Apply NonEmptyList
Applicative NonEmptyList
Bind NonEmptyList
Monad NonEmptyList
Alt NonEmptyList
Extend NonEmptyList
Comonad NonEmptyList
Semigroup (NonEmptyList a)
Foldable NonEmptyList
Traversable NonEmptyList