Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype ParseOptions = ParseOptions {}
- newtype RenderOptions = RenderOptions {}
- data SourcePosOption
Documentation
newtype ParseOptions Source #
ParseOptions | |
|
Instances
Show ParseOptions Source # | |
Defined in Djot.Options showsPrec :: Int -> ParseOptions -> ShowS # show :: ParseOptions -> String # showList :: [ParseOptions] -> ShowS # |
newtype RenderOptions Source #
RenderOptions | |
|
Instances
Show RenderOptions Source # | |
Defined in Djot.Options showsPrec :: Int -> RenderOptions -> ShowS # show :: RenderOptions -> String # showList :: [RenderOptions] -> ShowS # |
data SourcePosOption Source #
Adding source positions for blocks adds almost no overhead to parsing. Adding source positions for inlines has a small penalty. For many purposes it is enough to have source lines for blocks, so we offer the option.
Instances
Show SourcePosOption Source # | |
Defined in Djot.Options showsPrec :: Int -> SourcePosOption -> ShowS # show :: SourcePosOption -> String # showList :: [SourcePosOption] -> ShowS # | |
Eq SourcePosOption Source # | |
Defined in Djot.Options (==) :: SourcePosOption -> SourcePosOption -> Bool # (/=) :: SourcePosOption -> SourcePosOption -> Bool # | |
Ord SourcePosOption Source # | |
Defined in Djot.Options compare :: SourcePosOption -> SourcePosOption -> Ordering # (<) :: SourcePosOption -> SourcePosOption -> Bool # (<=) :: SourcePosOption -> SourcePosOption -> Bool # (>) :: SourcePosOption -> SourcePosOption -> Bool # (>=) :: SourcePosOption -> SourcePosOption -> Bool # max :: SourcePosOption -> SourcePosOption -> SourcePosOption # min :: SourcePosOption -> SourcePosOption -> SourcePosOption # |