[Haskell-cafe] ANNOUNCE: hs-cryptohash 0.4

Gregory Crosswhite gcross at phys.washington.edu
Fri Jul 2 21:33:05 EDT 2010

On 7/2/10 9:13 PM, Brandon S Allbery KF8NH wrote:
> If you read the example code I posted, the point was how to turn the current
> monolithic hash function into a cumulative one by using Writer.  As such,
> there's no opaque hash state inside the Writer.  (see `hash . runWriter').

You can do that, but the price that you pay is that you are keeping all 
of the chunks around until the very end, rather than digesting each one 
into context as it comes in and then throwing it away.


More information about the Haskell-Cafe mailing list