
12 Feb
2009
12 Feb
'09
10:40 a.m.
On Thu, Feb 12, 2009 at 9:28 AM, Don Stewart
ross:
Here's a concrete suggestion: have Data.Binary.Put export the existing function
tell :: Builder -> Put
and also
execPut :: PutM a -> Builder execPut = sndS . unPut
What's the use case?
Maybe 'tell' could be renamed to 'putBuilder', thereby not exposing the fact that the function is reaching into the guts of the abstraction. -Antoine