[Haskell-cafe] Test if a file is empty or stat in haskell

Anish Muttreja anishmuttreja at gmail.com
Thu Mar 5 13:56:42 EST 2009

I am looking for a way to test if a file is empty.
Something like isFileEmpty along the lines of 

A function that wraps stat would also serve the purpose.
I get the feeling that someone must have felt the need for this before 
me, but Google search not yield anything, hence the question.


More information about the Haskell-Cafe mailing list