[Haskell-cafe] ANNOUNCE: binary: high performance,
pure binary serialisation
Donald Bruce Stewart
dons at cse.unsw.edu.au
Mon Jan 29 18:40:00 EST 2007
tomasz.zielonka:
> On Tue, Jan 30, 2007 at 09:52:01AM +1100, Donald Bruce Stewart wrote:
> > 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 ().
>
> BTW, the PutM type constructor is not exported, but I think it may be
> useful in some uses on the library.
Done. its in darcs now.
-- Don
More information about the Haskell-Cafe
mailing list