portable-lines-0.1: Alternative 'lines' implementation that understands CR-LF and CR

Text.PortableLines

Synopsis

Documentation

lines :: String -> [String]Source

Like the lines function from Prelude, but treat the "\r\n" and "\r" sequences as newlines too, not just "\n".