mohws-0.2.0.1: Modular Haskell Web Server
Source code
Contents
Index
Network.MoHWS.Stream
Description
Unified interface to String and ByteStrings.
Documentation
class
Monoid
stream =>
C
stream
where
Source
Methods
fromString
::
Int
->
String
-> stream
Source
toString
:: stream ->
String
Source
isEmpty
:: stream ->
Bool
Source
length
:: stream ->
Integer
Source
isPrefixOf
:: stream -> stream ->
Bool
Source
break
:: (
Char
->
Bool
) -> stream -> (stream, stream)
Source
drop
::
Int
-> stream -> stream
Source
read
::
Handle
->
Integer
->
IO
stream
Source
readAll
::
Int
->
Handle
->
IO
stream
Source
write
::
Handle
-> stream ->
IO
()
Source
writeChunked
::
Int
->
Handle
-> stream ->
IO
()
Source
Instances
C
ByteString
CharType
char =>
C
([] char)
class
Eq
char =>
CharType
char
where
Source
Methods
fromChar
::
Char
-> char
Source
toChar
:: char ->
Char
Source
Instances
CharType
Char
Produced by
Haddock
version 2.4.2