foundation icon indicating copy to clipboard operation
foundation copied to clipboard

Difficulty writing hash

Open ndmitchell opened this issue 8 years ago • 0 comments

I'd really like the function hash :: a -> Int, since that's how I usually want to use it (or taking a salt argument, for even better compatibility with Hashable). However, hashNew, hashEnd and HashResult are not exported from Foundation.Hashing, so I can't even write my own version. Perhaps a hashWithSalt should be provided in foundation-edge?

ndmitchell avatar May 24 '17 20:05 ndmitchell