
5 Nov
2012
5 Nov
'12
5:22 p.m.
On Oct 31, 2012, at 3:25 AM, Emmanuel Touzery wrote:
I am checking if a file exists... and then if it exists I'm checking whether it's older than two hours from now. It is a bit annoying to have that second block in the else (i could make a second function but i think it all belongs in this function).
Check out this section of Real World Haskell. It should give you ideas. http://book.realworldhaskell.org/read/io-case-study-a-library-for-searching-...