rlist-0.1.0: Lists with cheap snocs

Data.RList

Contents

RList

Synopsis

data RList a Source #

Instances

Methods

fmap :: (a -> b) -> RList a -> RList b #

(<$) :: a -> RList b -> RList a #

pure :: a -> RList a #

(<*>) :: RList (a -> b) -> RList a -> RList b #

(*>) :: RList a -> RList b -> RList b #

(<*) :: RList a -> RList b -> RList a #

empty :: RList a #

(<|>) :: RList a -> RList a -> RList a #

some :: RList a -> RList [a] #

many :: RList a -> RList [a] #

(==) :: RList a -> RList a -> Bool #

(/=) :: RList a -> RList a -> Bool #

compare :: RList a -> RList a -> Ordering #

(<) :: RList a -> RList a -> Bool #

(<=) :: RList a -> RList a -> Bool #

(>) :: RList a -> RList a -> Bool #

(>=) :: RList a -> RList a -> Bool #

max :: RList a -> RList a -> RList a #

min :: RList a -> RList a -> RList a #

showsPrec :: Int -> RList a -> ShowS #

show :: RList a -> String #

showList :: [RList a] -> ShowS #

fromList :: [a] -> RList a Source #

toList :: RList a -> [a] Source #

snoc :: RList a -> a -> RList a Source #