[Haskell-cafe] ANNOUNCE: binary: high performance,
pure binary serialisation
Donald Bruce Stewart
dons at cse.unsw.edu.au
Mon Jan 29 17:52:01 EST 2007
ross:
> On Fri, Jan 26, 2007 at 01:51:01PM +1100, Donald Bruce Stewart wrote:
> >
> > Binary: high performance, pure binary serialisation for Haskell
> > ----------------------------------------------------------------------
> >
> > The Binary Strike Team is pleased to announce the release of a new,
> > pure, efficient binary serialisation library for Haskell, now available
> > from Hackage:
> >
> > tarball: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/binary/0.2
> > darcs: darcs get http://darcs.haskell.org/binary
> > haddocks: http://www.cse.unsw.edu.au/~dons/binary/Data-Binary.html
>
> Remind me again: why do you need a Put monad, which always seems to have
> the argument type ()? Monoids really are underappreciated.
For the syntax, and So that people can directly port their code from NewBinary.
(The instances are basically unchanged).
newtype PutM a = Put { unPut :: (a, Builder) }
type Put = PutM ()
It is always ().
-- Don
More information about the Haskell-Cafe
mailing list