Safe Haskell | None |
---|---|
Language | Haskell2010 |
Text.XML.Prettify.Options
Synopsis
- type IndentSize = Int
- data IndentStyle
- = TAB
- | SPACE IndentSize
- data EndOfLine
- data PrettifyOpts = PrettifyOpts {}
Documentation
type IndentSize = Int Source #
The indent size
data IndentStyle Source #
The indent style, either Tab
or Space
with a given indent size
Constructors
TAB | |
SPACE IndentSize |
Instances
Eq IndentStyle Source # | |
Defined in Text.XML.Prettify.Options | |
Read IndentStyle Source # | |
Defined in Text.XML.Prettify.Options Methods readsPrec :: Int -> ReadS IndentStyle # readList :: ReadS [IndentStyle] # readPrec :: ReadPrec IndentStyle # readListPrec :: ReadPrec [IndentStyle] # | |
Show IndentStyle Source # | |
Defined in Text.XML.Prettify.Options Methods showsPrec :: Int -> IndentStyle -> ShowS # show :: IndentStyle -> String # showList :: [IndentStyle] -> ShowS # | |
TextShow IndentStyle Source # | |
Defined in Text.XML.Prettify.Options Methods showbPrec :: Int -> IndentStyle -> Builder # showb :: IndentStyle -> Builder # showbList :: [IndentStyle] -> Builder # showtPrec :: Int -> IndentStyle -> Text # showt :: IndentStyle -> Text # showtList :: [IndentStyle] -> Text # showtlPrec :: Int -> IndentStyle -> Text # showtl :: IndentStyle -> Text # showtlList :: [IndentStyle] -> Text # |
The line break style: Line Feed (LF), Carriage Return (CR), or both (CRLF)
Instances
Eq EndOfLine Source # | |
Read EndOfLine Source # | |
Show EndOfLine Source # | |
TextShow EndOfLine Source # | |
Defined in Text.XML.Prettify.Options |
data PrettifyOpts Source #
The options for the Prettify module
Constructors
PrettifyOpts | |
Fields
|