 
            
            
            
            
                23 Feb
                
                    2012
                
            
            
                23 Feb
                
                '12
                
            
            
            
        
    
                10:27 p.m.
            
        On 2/23/12 4:07 AM, Jon Fairbairn wrote:
+1. And it’s always irritated me that read at EOF raises an exception. Files having ends is not exceptional! (This is partly addressed by iteratees, I imagine, but I haven’t found time to get my head round those yet.)
As John Lato mentioned, unix-bytestring gets around that (and a number of other ugly issues in the API). [1] http://hackage.haskell.org/package/unix-bytestring -- Live well, ~wren