-- | The representation of a newline in the external file or stream.
data Newline = LF -- ^ '\n'
| CRLF -- ^ '\r\n'
- deriving Eq
+ deriving (Eq, Ord, Read, Show)
-- | Specifies the translation, if any, of newline characters between
-- internal Strings and the external file or stream. Haskell Strings
outputNL :: Newline
-- ^ the representation of newlines on output
}
- deriving Eq
+ deriving (Eq, Ord, Read, Show)
-- | The native newline representation for the current platform: 'LF'
-- on Unix systems, 'CRLF' on Windows.