Module
Data.List.ZipList
- Package
- purescript-lists
- Repository
- purescript/purescript-lists
This module defines the type of zip lists, i.e. linked lists
with a zippy Applicative
instance.
#ZipList Source
newtype ZipList a
ZipList
is a newtype around List
which provides a zippy
Applicative
instance.
Constructors
Instances
(Show a) => Show (ZipList a)
Newtype (ZipList a) _
(Eq a) => Eq (ZipList a)
(Ord a) => Ord (ZipList a)
Semigroup (ZipList a)
Monoid (ZipList a)
Foldable ZipList
Traversable ZipList
Functor ZipList
Apply ZipList
Applicative ZipList
Alt ZipList
Plus ZipList
Alternative ZipList
(Fail "\n ZipList is not Bind. Any implementation would break the associativity law.\n\n Possible alternatives:\n Data.List.List\n Data.List.Lazy.List\n ") => Bind ZipList