| Copyright | (C) CSIRO 2017-2018 |
|---|---|
| License | BSD3 |
| Maintainer | George Wilson <george.wilson@data61.csiro.au> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Data.Svfactor.Text.Newline
Description
A sum type for line endings
Documentation
Newline is a sum type for line endings
class AsNewline r where Source #
Minimal complete definition
newlineToString :: IsString s => Newline -> s Source #
Convert a Newline to a String. Since this uses IsString,
it works for other data types, like Text or
ByteString.