Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Monad m => Reader m where Source #
peekLONG :: Peek m LONG Source #
peekULONG :: Peek m ULONG Source #
peekWORD :: Peek m WORD Source #
peekUWORD :: Peek m UWORD Source #
Instances
Reader ByteStringReader Source # | |
Defined in Sound.MED.Basic.AmigaPrivate | |
Reader StorableReader Source # | |
Defined in Sound.MED.Basic.AmigaPrivate |
data StorableReader a Source #
Instances
Monad StorableReader Source # | |
Defined in Sound.MED.Basic.AmigaPrivate (>>=) :: StorableReader a -> (a -> StorableReader b) -> StorableReader b # (>>) :: StorableReader a -> StorableReader b -> StorableReader b # return :: a -> StorableReader a # fail :: String -> StorableReader a # | |
Functor StorableReader Source # | |
Defined in Sound.MED.Basic.AmigaPrivate fmap :: (a -> b) -> StorableReader a -> StorableReader b # (<$) :: a -> StorableReader b -> StorableReader a # | |
Applicative StorableReader Source # | |
Defined in Sound.MED.Basic.AmigaPrivate pure :: a -> StorableReader a # (<*>) :: StorableReader (a -> b) -> StorableReader a -> StorableReader b # liftA2 :: (a -> b -> c) -> StorableReader a -> StorableReader b -> StorableReader c # (*>) :: StorableReader a -> StorableReader b -> StorableReader b # (<*) :: StorableReader a -> StorableReader b -> StorableReader a # | |
Reader StorableReader Source # | |
Defined in Sound.MED.Basic.AmigaPrivate |
runStorable :: StorableReader a -> MEM -> IO a Source #
data ByteStringReader a Source #
Instances
Monad ByteStringReader Source # | |
Defined in Sound.MED.Basic.AmigaPrivate (>>=) :: ByteStringReader a -> (a -> ByteStringReader b) -> ByteStringReader b # (>>) :: ByteStringReader a -> ByteStringReader b -> ByteStringReader b # return :: a -> ByteStringReader a # fail :: String -> ByteStringReader a # | |
Functor ByteStringReader Source # | |
Defined in Sound.MED.Basic.AmigaPrivate fmap :: (a -> b) -> ByteStringReader a -> ByteStringReader b # (<$) :: a -> ByteStringReader b -> ByteStringReader a # | |
Applicative ByteStringReader Source # | |
Defined in Sound.MED.Basic.AmigaPrivate pure :: a -> ByteStringReader a # (<*>) :: ByteStringReader (a -> b) -> ByteStringReader a -> ByteStringReader b # liftA2 :: (a -> b -> c) -> ByteStringReader a -> ByteStringReader b -> ByteStringReader c # (*>) :: ByteStringReader a -> ByteStringReader b -> ByteStringReader b # (<*) :: ByteStringReader a -> ByteStringReader b -> ByteStringReader a # | |
Reader ByteStringReader Source # | |
Defined in Sound.MED.Basic.AmigaPrivate |
runByteString :: ByteStringReader a -> ByteString -> Either String a Source #