handle-like: HandleLike class

[ bsd3, common-parts, library ] [ Propose Tags ]

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.

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.0.0, 0.0.0.1, 0.0.0.2, 0.0.0.3, 0.0.0.4, 0.0.0.5, 0.0.0.6, 0.0.0.7, 0.0.0.8, 0.0.0.9, 0.0.0.10, 0.0.0.11, 0.0.0.12, 0.0.0.13, 0.0.0.14, 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3
Dependencies base (>=4 && <5), bytestring (>=0.10 && <0.11) [details]
License BSD-3-Clause
Author Yoshikuni Jujo <PAF01143@nifty.ne.jp>
Maintainer Yoshikuni Jujo <PAF01143@nifty.ne.jp>
Category Common-Parts
Source repo head: git clone git://github.com/YoshikuniJujo/forest
this: git clone git://github.com/YoshikuniJujo/forest(tag handle-like-0.0.0.10)
Uploaded by YoshikuniJujo at 2014-06-19T03:33:01Z
Distributions
Reverse Dependencies 5 direct, 0 indirect [details]
Downloads 12865 total (30 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]