Hi.

On Fri, Dec 4, 2015 at 12:35 AM, Daniel Trstenjak <daniel.trstenjak@gmail.com> wrote:


Looking at your code, it's easier not to put the `IO String` computation
of the hash into a tuple, but first compute all hashes:

   hashes <- sequence (map Md5s.prefix_md5 filenames)


And if you want the hash and the filename grouped in a tuple:

   zip filenames hashes

What if I want to be able to deal gracefully with files that aren't readable, whether due to permissions issues or I/O errors?  I agree that zip'ing is easier, but is it as robust?

Thanks.

--
Dan Stromberg