[Haskell-cafe] ANNOUNCE: binary: high performance, pure binary serialisation

Tomasz Zielonka tomasz.zielonka at gmail.com
Mon Jan 29 18:31:32 EST 2007


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.

Best regards
Tomasz


More information about the Haskell-Cafe mailing list