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 |
A sum type for quote characters
Documentation
A sum type for quote characters. Either single or double quotes.
class AsQuote r where Source #
Classy prisms for Quote
quoteToString :: IsString a => Quote -> a Source #
Convert a Quote
to a String
. Since this uses IsString
,
it works for other data types, like Text
or
ByteString
.