rattletrap-12.1.3: Parse and generate Rocket League replays.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Rattletrap.Type.List

Documentation

newtype List a Source #

Constructors

List [a] 

Instances

Instances details
FromJSON a => FromJSON (List a) Source # 
Instance details

Defined in Rattletrap.Type.List

ToJSON a => ToJSON (List a) Source # 
Instance details

Defined in Rattletrap.Type.List

Show a => Show (List a) Source # 
Instance details

Defined in Rattletrap.Type.List

Methods

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

show :: List a -> String #

showList :: [List a] -> ShowS #

Eq a => Eq (List a) Source # 
Instance details

Defined in Rattletrap.Type.List

Methods

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

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

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

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

bytePut :: (a -> BytePut) -> List a -> BytePut 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 #