The latest version of handle-like is 0.1.0.3-0.

handle-like

Version 0.1.0.0 revision 0 uploaded by YoshikuniJujo.

Package meta

Synopsis
HandleLike class
Description

A tiny package. It's contain the following class.

class HandleLike h where
    type HandleMonad h
    type DebugLevel h
    hlPut :: h -> ByteString -> HandleMonad h ()
    hlGet :: h -> Int -> HandleMonad h ByteString
    hlGetByte :: h -> HandleMonad h Word8
    hlGetLine :: h -> HandleMonad h ByteString
    hlGetContent :: h -> HandleMonad h ByteString
    hlFlush :: h -> HandleMonad h ()
    hlClose :: h -> HandleMonad h ()
    hlDebug :: h -> DebugLevel h -> HandleMonad h ()
    hlError :: h -> ByteString -> HandleMonad h a

Minimal complete difinition: HandleMonad, hlPut, hlGet and hlClose.

Author
Yoshikuni Jujo <PAF01143@nifty.ne.jp>
Bug reports
n/a
Category
Common-Parts
Copyright
n/a
Homepage
n/a
Maintainer
Yoshikuni Jujo <PAF01143@nifty.ne.jp>
Package URL
n/a
Stability
Experimental

Components