 
            
            
            
            
                7 Feb
                
                    2008
                
            
            
                7 Feb
                
                '08
                
            
            
            
        
    
                1:46 p.m.
            
        This function is typically defined once per project. So its about time this safe variant of 'read' made it into the base. maybeRead :: Read a => String -> Maybe a maybeRead s = case reads s of [(x, "")] -> Just x _ -> Nothing Consideration period: 1 week. Patch to Text.Read attached.