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.

Versions [RSS] [faq],,,,,,,,,,,,,,,,,,
Dependencies base (==4.*), bytestring (==0.10.*) [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-
Uploaded by YoshikuniJujo at 2015-09-09T00:52:28Z
Distributions NixOS:
Downloads 11889 total (41 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2015-09-09 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees