Rattletrap.Type.List
newtype List a Source #
Constructors
Defined in Rattletrap.Type.List
Methods
parseJSON :: Value -> Parser (List a) #
parseJSONList :: Value -> Parser [List a] #
omittedField :: Maybe (List a) #
toJSON :: List a -> Value #
toEncoding :: List a -> Encoding #
toJSONList :: [List a] -> Value #
toEncodingList :: [List a] -> Encoding #
omitField :: List a -> Bool #
showsPrec :: Int -> List a -> ShowS #
show :: List a -> String #
showList :: [List a] -> ShowS #
(==) :: List a -> List a -> Bool #
(/=) :: List a -> List a -> Bool #
schema :: Schema -> Schema Source #
fromList :: [a] -> List a Source #
empty :: List a Source #
toList :: List a -> [a] Source #
bytePut :: (a -> BytePut) -> List a -> BytePut Source #
byteGet :: ByteGet a -> ByteGet (List a) Source #
generateM :: Monad m => Int -> (Int -> m a) -> m (List a) Source #
replicateM :: Monad m => Int -> m a -> m (List a) Source #
untilM :: Monad m => m (Maybe a) -> m (List a) Source #
untilMWith :: Monad m => m (Maybe a) -> Int -> [(Int, a)] -> m (List a) Source #