Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Documentation
class (Monad (HandleMonad h), IsString (DebugLevel h), Ord (DebugLevel h), Bounded (DebugLevel h)) => HandleLike h where Source
type HandleMonad h :: * -> * Source
type DebugLevel h Source
hlPut :: h -> ByteString -> HandleMonad h () Source
hlGet :: h -> Int -> HandleMonad h ByteString Source
hlGetByte :: h -> HandleMonad h Word8 Source
hlGetLine :: h -> HandleMonad h ByteString Source
hlGetContent :: h -> HandleMonad h ByteString Source
hlFlush :: h -> HandleMonad h () Source
hlClose :: h -> HandleMonad h () Source
hlDebug :: h -> DebugLevel h -> ByteString -> HandleMonad h () Source
hlError :: h -> ByteString -> HandleMonad h a Source
HandleLike Handle | |
HandleLike h => HandleLike (DebugHandle h) |
hlPutStrLn :: HandleLike h => h -> ByteString -> HandleMonad h () Source
data DebugHandle h Source
DebugHandle h (Maybe (DebugLevel h)) |
HandleLike h => HandleLike (DebugHandle h) | |
type HandleMonad (DebugHandle h) = HandleMonad h | |
type DebugLevel (DebugHandle h) = DebugLevel h |