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
    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
    hlClose :: h -> HandleMonad h ()
    hlError :: h -> ByteString -> HandleMonad h a

Minimal complete difinition: hlPut, hlGet and hlClose.

Versions [faq] 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.*), 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-0.0.0.7)
Uploaded by YoshikuniJujo at 2014-06-09T19:55:46Z
Distributions NixOS:0.1.0.3
Downloads 11298 total (61 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Successful builds reported [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees