packages feed

bytable 0.0.0.2 → 0.0.0.3

raw patch · 2 files changed

+6/−2 lines, 2 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ Codec.Bytable: class Parsable p
+ Codec.Bytable: parse :: Parsable p => BytableM p

Files

bytable.cabal view
@@ -2,7 +2,7 @@ build-type:	Simple  name:		bytable-version:	0.0.0.2+version:	0.0.0.3 stability:	Experimental author:		Yoshikuni Jujo <PAF01143@nifty.ne.jp> maintainer:	Yoshikuni Jujo <PAF01143@nifty.ne.jp>@@ -28,7 +28,7 @@ source-repository	this     type:	git     location:	git://github.com/YoshikuniJujo/forest-    tag:	bytable-0.0.0.2+    tag:	bytable-0.0.0.3  library     hs-source-dirs:	src
src/Codec/Bytable.hs view
@@ -2,6 +2,7 @@  module Codec.Bytable ( 	Bytable(..),+	Parsable(..), 	BytableM(..), evalBytableM, execBytableM, 	head, take, null, list, ) where@@ -42,6 +43,9 @@ instance Bytable BS.ByteString where 	fromByteString = Right 	toByteString = id++class Parsable p where+	parse :: BytableM p  head :: BytableM Word8 head = BytableM $ \bs -> case BS.uncons bs of