Module
Data.List.Lazy.Types
- Package
- purescript-lists
- Repository
- purescript/purescript-lists
#List Source
newtype List aA 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 ListLazy (List a)Semigroup (List a)Monoid (List a)Functor ListFunctorWithIndex Int ListFoldable ListFoldableWithIndex Int ListUnfoldable1 ListUnfoldable ListTraversable ListTraversableWithIndex Int ListApply ListApplicative ListBind ListMonad ListAlt ListPlus ListAlternative ListMonadZero ListMonadPlus ListExtend 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 aConstructors
NonEmptyList (Lazy (NonEmpty List a))
Instances
Newtype (NonEmptyList a) _(Eq a) => Eq (NonEmptyList a)(Ord a) => Ord (NonEmptyList a)Eq1 NonEmptyListOrd1 NonEmptyList(Show a) => Show (NonEmptyList a)Functor NonEmptyListApply NonEmptyListApplicative NonEmptyListBind NonEmptyListMonad NonEmptyListAlt NonEmptyListExtend NonEmptyListComonad NonEmptyListSemigroup (NonEmptyList a)Foldable NonEmptyListTraversable NonEmptyListUnfoldable1 NonEmptyListFunctorWithIndex Int NonEmptyListFoldableWithIndex Int NonEmptyListTraversableWithIndex Int NonEmptyList