[Haskell-cafe] ANNOUNCE: hs-cryptohash 0.4

Gregory Crosswhite gcross at phys.washington.edu
Fri Jul 2 17:24:41 EDT 2010

On 7/2/10 11:01 AM, Brandon S Allbery KF8NH wrote:
> Although now that I think about it, if we're just appending to the state,
> this should possibly be a Writer instead of a State; the interface is simpler.

The problem with this approach is that the hash context isn't a monoid;  
you can absorb data into the context, but you can't combine two hash 
contexts to form a new one.  Thus, the Writer monad won't work for this 


More information about the Haskell-Cafe mailing list