handle-like: HandleLike class

[ bsd3, common-parts, library ] [ Propose Tags ] [ Report a vulnerability ]

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.1.0.1)
Uploaded by YoshikuniJujo at 2015-09-09T00:52:28Z
Distributions
Reverse Dependencies 5 direct, 0 indirect [details]
Downloads 13180 total (20 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-09-09 [all 1 reports]