Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Transfer type without IO interaction. Optimal for testing.
Documentation
class C body => Body body where Source #
splitAt :: Int -> body -> (body, body) Source #
breakAfter :: (Char -> Bool) -> body -> (body, body) Source #
Instances
Body ByteString Source # | |
Defined in Network.Monad.Transfer.Offline splitAt :: Int -> ByteString -> (ByteString, ByteString) Source # breakAfter :: (Char -> Bool) -> ByteString -> (ByteString, ByteString) Source # | |
Body ByteString Source # | |
Defined in Network.Monad.Transfer.Offline splitAt :: Int -> ByteString -> (ByteString, ByteString) Source # breakAfter :: (Char -> Bool) -> ByteString -> (ByteString, ByteString) Source # | |
CharType char => Body [char] Source # | |
Defined in Network.Monad.Transfer.Offline |
withBuffer :: C body => (body -> (a, body)) -> AsyncExceptional (T body) a Source #