rest-types-1.14.1.1: Silk Rest Framework Types

Safe HaskellNone
LanguageHaskell98

Rest.Types.Container

Documentation

data List a Source #

Constructors

List 

Fields

Instances

Functor List Source # 

Methods

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

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

Foldable List Source # 

Methods

fold :: Monoid m => List m -> m #

foldMap :: Monoid m => (a -> m) -> List a -> m #

foldr :: (a -> b -> b) -> b -> List a -> b #

foldr' :: (a -> b -> b) -> b -> List a -> b #

foldl :: (b -> a -> b) -> b -> List a -> b #

foldl' :: (b -> a -> b) -> b -> List a -> b #

foldr1 :: (a -> a -> a) -> List a -> a #

foldl1 :: (a -> a -> a) -> List a -> a #

toList :: List a -> [a] #

null :: List a -> Bool #

length :: List a -> Int #

elem :: Eq a => a -> List a -> Bool #

maximum :: Ord a => List a -> a #

minimum :: Ord a => List a -> a #

sum :: Num a => List a -> a #

product :: Num a => List a -> a #

Traversable List Source # 

Methods

traverse :: Applicative f => (a -> f b) -> List a -> f (List b) #

sequenceA :: Applicative f => List (f a) -> f (List a) #

mapM :: Monad m => (a -> m b) -> List a -> m (List b) #

sequence :: Monad m => List (m a) -> m (List a) #

Eq a => Eq (List a) Source # 

Methods

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

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

Ord a => Ord (List a) Source # 

Methods

compare :: List a -> List a -> Ordering #

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

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

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

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

max :: List a -> List a -> List a #

min :: List a -> List a -> List a #

Read a => Read (List a) Source # 
Show a => Show (List a) Source # 

Methods

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

show :: List a -> String #

showList :: [List a] -> ShowS #

Generic (List a) Source # 

Associated Types

type Rep (List a) :: * -> * #

Methods

from :: List a -> Rep (List a) x #

to :: Rep (List a) x -> List a #

ToJSON a => ToJSON (List a) Source # 

Methods

toJSON :: List a -> Value #

toEncoding :: List a -> Encoding #

FromJSON a => FromJSON (List a) Source # 

Methods

parseJSON :: Value -> Parser (List a) #

XmlPickler a => XmlPickler (List a) Source # 

Methods

xpickle :: PU (List a) #

JSONSchema a => JSONSchema (List a) Source # 

Methods

schema :: Proxy * (List a) -> Schema #

type Rep (List a) Source # 
type Rep (List a) = D1 (MetaData "List" "Rest.Types.Container" "rest-types-1.14.1.1-7ijkg1iC1LN7wPGX2run2l" False) (C1 (MetaCons "List" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "offset") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "count") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) (S1 (MetaSel (Just Symbol "items") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [a])))))