Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Defines types and functions to gather all the information needed for printing.
Synopsis
- data Notation
- class HasPrintingOptions c where
- getSetting :: Lens' c Notation
- newtype PrintingConfiguration = PC {}
- notation :: Iso' PrintingConfiguration Notation
- data PrintingInformation = PI {}
- stg :: Lens' PrintingInformation Stage
- configuration :: Lens' PrintingInformation PrintingConfiguration
- ckdb :: Lens' PrintingInformation ChunkDB
- piSys :: SystemInformation -> Stage -> PrintingConfiguration -> PrintingInformation
- defaultConfiguration :: PrintingConfiguration
Documentation
class HasPrintingOptions c where Source #
Able to be printed.
getSetting :: Lens' c Notation Source #
Holds the printing notation.
Instances
HasPrintingOptions PrintingConfiguration Source # | Finds the notation used for the |
Defined in Language.Drasil.Printing.PrintingInformation getSetting :: Lens' PrintingConfiguration Notation Source # | |
HasPrintingOptions PrintingInformation Source # | Finds the notation used for the |
Defined in Language.Drasil.Printing.PrintingInformation getSetting :: Lens' PrintingInformation Notation Source # |
newtype PrintingConfiguration Source #
Holds the printing configuration.
Instances
HasPrintingOptions PrintingConfiguration Source # | Finds the notation used for the |
Defined in Language.Drasil.Printing.PrintingInformation getSetting :: Lens' PrintingConfiguration Notation Source # |
notation :: Iso' PrintingConfiguration Notation Source #
data PrintingInformation Source #
Printing information contains a database, a stage, and a printing configuration.
PI | |
|
Instances
HasPrintingOptions PrintingInformation Source # | Finds the notation used for the |
Defined in Language.Drasil.Printing.PrintingInformation getSetting :: Lens' PrintingInformation Notation Source # |
stg :: Lens' PrintingInformation Stage Source #
ckdb :: Lens' PrintingInformation ChunkDB Source #
piSys :: SystemInformation -> Stage -> PrintingConfiguration -> PrintingInformation Source #
Builds a document's printing information based on the system information.
defaultConfiguration :: PrintingConfiguration Source #
Default configuration is for engineering.