Copyright | (c) Andrea Rossato |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Andrea Rossato <andrea.rossato@unitn.it> |
Stability | unstable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell2010 |
Text.CSL.Style
Description
The Style types
Synopsis
- readCSLString :: String -> [Inline]
- writeCSLString :: [Inline] -> String
- newtype Formatted = Formatted {
- unFormatted :: [Inline]
- data Style = Style {
- styleVersion :: String
- styleClass :: String
- styleInfo :: Maybe CSInfo
- styleDefaultLocale :: String
- styleLocale :: [Locale]
- styleAbbrevs :: Abbreviations
- csOptions :: [Option]
- csMacros :: [MacroMap]
- citation :: Citation
- biblio :: Maybe Bibliography
- data Locale = Locale {
- localeVersion :: String
- localeLang :: String
- localeOptions :: [Option]
- localeTerms :: [CslTerm]
- localeDate :: [Element]
- mergeLocales :: String -> Locale -> [Locale] -> [Locale]
- data CslTerm = CT {
- cslTerm :: String
- termForm :: Form
- termGender :: Gender
- termGenderForm :: Gender
- termSingular :: String
- termPlural :: String
- termMatch :: String
- newTerm :: CslTerm
- findTerm :: String -> Form -> [CslTerm] -> Maybe CslTerm
- findTerm' :: String -> Form -> Gender -> [CslTerm] -> Maybe CslTerm
- newtype Abbreviations = Abbreviations {
- unAbbreviations :: Map String (Map String (Map String String))
- type MacroMap = (String, [Element])
- data Citation = Citation {}
- data Bibliography = Bibliography {}
- type Option = (String, String)
- mergeOptions :: [Option] -> [Option] -> [Option]
- data Layout = Layout {}
- data Element
- = Choose IfThen [IfThen] [Element]
- | Macro String Formatting
- | Const String Formatting
- | Variable [String] Form Formatting Delimiter
- | Term String Form Formatting Bool
- | Label String Form Formatting Plural
- | Number String NumericForm Formatting
- | Names [String] [Name] Formatting Delimiter [Element]
- | Substitute [Element]
- | Group Formatting Delimiter [Element]
- | Date [String] DateForm Formatting Delimiter [DatePart] String
- data IfThen = IfThen Condition Match [Element]
- data Condition = Condition {
- isType :: [String]
- isSet :: [String]
- isNumeric :: [String]
- isUncertainDate :: [String]
- isPosition :: [String]
- disambiguation :: [String]
- isLocator :: [String]
- type Delimiter = String
- data Match
- match :: Match -> [Bool] -> Bool
- data DatePart = DatePart {
- dpName :: String
- dpForm :: String
- dpRangeDelim :: String
- dpFormatting :: Formatting
- defaultDate :: [DatePart]
- data Sort
- = SortVariable String Sorting
- | SortMacro String Sorting Int Int String
- data Sorting
- = Ascending String
- | Descending String
- compare' :: String -> String -> Ordering
- data Form
- data Gender
- data NumericForm
- = Numeric
- | Ordinal
- | Roman
- | LongOrdinal
- data DateForm
- data Plural
- = Contextual
- | Always
- | Never
- data Name
- = Name Form Formatting NameAttrs Delimiter [NamePart]
- | NameLabel Form Formatting Plural
- | EtAl Formatting String
- type NameAttrs = [(String, String)]
- data NamePart = NamePart String Formatting
- isPlural :: Plural -> Int -> Bool
- isName :: Name -> Bool
- isNames :: Element -> Bool
- hasEtAl :: [Name] -> Bool
- data Formatting = Formatting {
- prefix :: String
- suffix :: String
- fontFamily :: String
- fontStyle :: String
- fontVariant :: String
- fontWeight :: String
- textDecoration :: String
- verticalAlign :: String
- textCase :: String
- display :: String
- quotes :: Quote
- stripPeriods :: Bool
- noCase :: Bool
- noDecor :: Bool
- hyperlink :: String
- emptyFormatting :: Formatting
- rmTitleCase :: Formatting -> Formatting
- rmTitleCase' :: Output -> Output
- data Quote
- mergeFM :: Formatting -> Formatting -> Formatting
- data CSInfo = CSInfo {
- csiTitle :: String
- csiAuthor :: CSAuthor
- csiCategories :: [CSCategory]
- csiId :: String
- csiUpdated :: String
- data CSAuthor = CSAuthor String String String
- data CSCategory = CSCategory String String String
- data CiteprocError
- = NoOutput
- | ReferenceNotFound String
- data Output
- = ONull
- | OSpace
- | OPan [Inline]
- | ODel String
- | OStr String Formatting
- | OErr CiteprocError
- | OLabel String Formatting
- | ONum Int Formatting
- | OCitNum Int Formatting
- | OCitLabel String Formatting
- | ODate [Output]
- | OYear String String Formatting
- | OYearSuf String String [Output] Formatting
- | OName Agent [Output] [[Output]] Formatting
- | OContrib String String [Output] [Output] [[Output]]
- | OLoc [Output] Formatting
- | Output [Output] Formatting
- type Citations = [[Cite]]
- data Cite = Cite {
- citeId :: String
- citePrefix :: Formatted
- citeSuffix :: Formatted
- citeLabel :: String
- citeLocator :: String
- citeNoteNumber :: String
- citePosition :: String
- nearNote :: Bool
- authorInText :: Bool
- suppressAuthor :: Bool
- citeHash :: Int
- emptyCite :: Cite
- data CitationGroup = CG [(Cite, Output)] Formatting Delimiter [(Cite, Output)]
- data BiblioData = BD {
- citations :: [Formatted]
- bibliography :: [Formatted]
- citationIds :: [String]
- data CiteData = CD {}
- data NameData = ND {
- nameKey :: Agent
- nameCollision :: [Output]
- nameDisambData :: [[Output]]
- nameDataSolved :: [Output]
- isPunctuationInQuote :: Style -> Bool
- object' :: [Pair] -> Value
- data Agent = Agent {
- givenName :: [Formatted]
- droppingPart :: Formatted
- nonDroppingPart :: Formatted
- familyName :: Formatted
- nameSuffix :: Formatted
- literal :: Formatted
- commaSuffix :: Bool
- parseNames :: Bool
- emptyAgent :: Agent
Documentation
readCSLString :: String -> [Inline] Source #
writeCSLString :: [Inline] -> String Source #
Constructors
Formatted | |
Fields
|
Instances
Eq Formatted Source # | |
Data Formatted Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Formatted -> c Formatted gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Formatted toConstr :: Formatted -> Constr dataTypeOf :: Formatted -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Formatted) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Formatted) gmapT :: (forall b. Data b => b -> b) -> Formatted -> Formatted gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Formatted -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Formatted -> r gmapQ :: (forall d. Data d => d -> u) -> Formatted -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Formatted -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Formatted -> m Formatted gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Formatted -> m Formatted gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Formatted -> m Formatted | |
Ord Formatted Source # | |
Defined in Text.CSL.Style | |
Read Formatted Source # | |
Defined in Text.CSL.Style | |
Show Formatted Source # | |
IsString Formatted Source # | |
Defined in Text.CSL.Style Methods fromString :: String -> Formatted | |
Generic Formatted Source # | |
Semigroup Formatted Source # | |
Monoid Formatted Source # | |
FromJSON Formatted Source # | |
Defined in Text.CSL.Style | |
ToJSON Formatted Source # | |
Defined in Text.CSL.Style Methods toEncoding :: Formatted -> Encoding toJSONList :: [Formatted] -> Value toEncodingList :: [Formatted] -> Encoding | |
ToYaml Formatted Source # | |
Defined in Text.CSL.Style | |
Walkable Inline Formatted Source # | |
Walkable Formatted Formatted Source # | |
type Rep Formatted Source # | |
Defined in Text.CSL.Style type Rep Formatted = D1 (MetaData "Formatted" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" True) (C1 (MetaCons "Formatted" PrefixI True) (S1 (MetaSel (Just "unFormatted") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Inline]))) |
The representation of a parsed CSL style.
Constructors
Style | |
Fields
|
Instances
Data Style Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Style -> c Style gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Style dataTypeOf :: Style -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Style) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Style) gmapT :: (forall b. Data b => b -> b) -> Style -> Style gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Style -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Style -> r gmapQ :: (forall d. Data d => d -> u) -> Style -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Style -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Style -> m Style gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Style -> m Style gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Style -> m Style | |
Read Style Source # | |
Defined in Text.CSL.Style | |
Show Style Source # | |
Generic Style Source # | |
type Rep Style Source # | |
Defined in Text.CSL.Style type Rep Style = D1 (MetaData "Style" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "Style" PrefixI True) (((S1 (MetaSel (Just "styleVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "styleClass") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :*: (S1 (MetaSel (Just "styleInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe CSInfo)) :*: (S1 (MetaSel (Just "styleDefaultLocale") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "styleLocale") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Locale])))) :*: ((S1 (MetaSel (Just "styleAbbrevs") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Abbreviations) :*: S1 (MetaSel (Just "csOptions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Option])) :*: (S1 (MetaSel (Just "csMacros") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [MacroMap]) :*: (S1 (MetaSel (Just "citation") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Citation) :*: S1 (MetaSel (Just "biblio") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bibliography))))))) |
Constructors
Locale | |
Fields
|
Instances
Eq Locale Source # | |
Data Locale Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Locale -> c Locale gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Locale dataTypeOf :: Locale -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Locale) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Locale) gmapT :: (forall b. Data b => b -> b) -> Locale -> Locale gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Locale -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Locale -> r gmapQ :: (forall d. Data d => d -> u) -> Locale -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Locale -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Locale -> m Locale gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Locale -> m Locale gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Locale -> m Locale | |
Read Locale Source # | |
Defined in Text.CSL.Style | |
Show Locale Source # | |
Generic Locale Source # | |
type Rep Locale Source # | |
Defined in Text.CSL.Style type Rep Locale = D1 (MetaData "Locale" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "Locale" PrefixI True) ((S1 (MetaSel (Just "localeVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "localeLang") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :*: (S1 (MetaSel (Just "localeOptions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Option]) :*: (S1 (MetaSel (Just "localeTerms") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [CslTerm]) :*: S1 (MetaSel (Just "localeDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Element]))))) |
Constructors
CT | |
Fields
|
Instances
Eq CslTerm Source # | |
Data CslTerm Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CslTerm -> c CslTerm gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CslTerm dataTypeOf :: CslTerm -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CslTerm) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CslTerm) gmapT :: (forall b. Data b => b -> b) -> CslTerm -> CslTerm gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CslTerm -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CslTerm -> r gmapQ :: (forall d. Data d => d -> u) -> CslTerm -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CslTerm -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CslTerm -> m CslTerm gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CslTerm -> m CslTerm gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CslTerm -> m CslTerm | |
Read CslTerm Source # | |
Defined in Text.CSL.Style | |
Show CslTerm Source # | |
Generic CslTerm Source # | |
type Rep CslTerm Source # | |
Defined in Text.CSL.Style type Rep CslTerm = D1 (MetaData "CslTerm" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "CT" PrefixI True) ((S1 (MetaSel (Just "cslTerm") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: (S1 (MetaSel (Just "termForm") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Form) :*: S1 (MetaSel (Just "termGender") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Gender))) :*: ((S1 (MetaSel (Just "termGenderForm") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Gender) :*: S1 (MetaSel (Just "termSingular") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :*: (S1 (MetaSel (Just "termPlural") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "termMatch") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))) |
newtype Abbreviations Source #
Constructors
Abbreviations | |
Fields
|
Instances
Data Abbreviations Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Abbreviations -> c Abbreviations gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Abbreviations toConstr :: Abbreviations -> Constr dataTypeOf :: Abbreviations -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Abbreviations) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Abbreviations) gmapT :: (forall b. Data b => b -> b) -> Abbreviations -> Abbreviations gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Abbreviations -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Abbreviations -> r gmapQ :: (forall d. Data d => d -> u) -> Abbreviations -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Abbreviations -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Abbreviations -> m Abbreviations gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Abbreviations -> m Abbreviations gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Abbreviations -> m Abbreviations | |
Read Abbreviations Source # | |
Defined in Text.CSL.Style Methods readsPrec :: Int -> ReadS Abbreviations readList :: ReadS [Abbreviations] readPrec :: ReadPrec Abbreviations readListPrec :: ReadPrec [Abbreviations] | |
Show Abbreviations Source # | |
Defined in Text.CSL.Style Methods showsPrec :: Int -> Abbreviations -> ShowS show :: Abbreviations -> String showList :: [Abbreviations] -> ShowS | |
Generic Abbreviations Source # | |
Defined in Text.CSL.Style Associated Types type Rep Abbreviations :: Type -> Type | |
FromJSON Abbreviations Source # | |
Defined in Text.CSL.Style | |
type Rep Abbreviations Source # | |
Defined in Text.CSL.Style type Rep Abbreviations = D1 (MetaData "Abbreviations" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" True) (C1 (MetaCons "Abbreviations" PrefixI True) (S1 (MetaSel (Just "unAbbreviations") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Map String (Map String (Map String String)))))) |
Instances
Data Citation Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Citation -> c Citation gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Citation toConstr :: Citation -> Constr dataTypeOf :: Citation -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Citation) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Citation) gmapT :: (forall b. Data b => b -> b) -> Citation -> Citation gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Citation -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Citation -> r gmapQ :: (forall d. Data d => d -> u) -> Citation -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Citation -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Citation -> m Citation gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Citation -> m Citation gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Citation -> m Citation | |
Read Citation Source # | |
Defined in Text.CSL.Style | |
Show Citation Source # | |
Generic Citation Source # | |
type Rep Citation Source # | |
Defined in Text.CSL.Style type Rep Citation = D1 (MetaData "Citation" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "Citation" PrefixI True) (S1 (MetaSel (Just "citOptions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Option]) :*: (S1 (MetaSel (Just "citSort") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Sort]) :*: S1 (MetaSel (Just "citLayout") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Layout)))) |
data Bibliography Source #
Constructors
Bibliography | |
Instances
Data Bibliography Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Bibliography -> c Bibliography gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Bibliography toConstr :: Bibliography -> Constr dataTypeOf :: Bibliography -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Bibliography) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Bibliography) gmapT :: (forall b. Data b => b -> b) -> Bibliography -> Bibliography gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Bibliography -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Bibliography -> r gmapQ :: (forall d. Data d => d -> u) -> Bibliography -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Bibliography -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Bibliography -> m Bibliography gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Bibliography -> m Bibliography gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Bibliography -> m Bibliography | |
Read Bibliography Source # | |
Defined in Text.CSL.Style Methods readsPrec :: Int -> ReadS Bibliography readList :: ReadS [Bibliography] readPrec :: ReadPrec Bibliography readListPrec :: ReadPrec [Bibliography] | |
Show Bibliography Source # | |
Defined in Text.CSL.Style Methods showsPrec :: Int -> Bibliography -> ShowS show :: Bibliography -> String showList :: [Bibliography] -> ShowS | |
Generic Bibliography Source # | |
Defined in Text.CSL.Style Associated Types type Rep Bibliography :: Type -> Type | |
type Rep Bibliography Source # | |
Defined in Text.CSL.Style type Rep Bibliography = D1 (MetaData "Bibliography" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "Bibliography" PrefixI True) (S1 (MetaSel (Just "bibOptions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Option]) :*: (S1 (MetaSel (Just "bibSort") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Sort]) :*: S1 (MetaSel (Just "bibLayout") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Layout)))) |
Instances
Data Layout Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Layout -> c Layout gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Layout dataTypeOf :: Layout -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Layout) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Layout) gmapT :: (forall b. Data b => b -> b) -> Layout -> Layout gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Layout -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Layout -> r gmapQ :: (forall d. Data d => d -> u) -> Layout -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Layout -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Layout -> m Layout gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Layout -> m Layout gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Layout -> m Layout | |
Read Layout Source # | |
Defined in Text.CSL.Style | |
Show Layout Source # | |
Generic Layout Source # | |
type Rep Layout Source # | |
Defined in Text.CSL.Style type Rep Layout = D1 (MetaData "Layout" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "Layout" PrefixI True) (S1 (MetaSel (Just "layFormat") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting) :*: (S1 (MetaSel (Just "layDelim") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Delimiter) :*: S1 (MetaSel (Just "elements") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Element])))) |
Constructors
Choose IfThen [IfThen] [Element] | |
Macro String Formatting | |
Const String Formatting | |
Variable [String] Form Formatting Delimiter | |
Term String Form Formatting Bool | |
Label String Form Formatting Plural | |
Number String NumericForm Formatting | |
Names [String] [Name] Formatting Delimiter [Element] | |
Substitute [Element] | |
Group Formatting Delimiter [Element] | |
Date [String] DateForm Formatting Delimiter [DatePart] String |
Instances
Eq Element Source # | |
Data Element Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Element -> c Element gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Element dataTypeOf :: Element -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Element) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Element) gmapT :: (forall b. Data b => b -> b) -> Element -> Element gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Element -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Element -> r gmapQ :: (forall d. Data d => d -> u) -> Element -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Element -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Element -> m Element gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Element -> m Element gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Element -> m Element | |
Read Element Source # | |
Defined in Text.CSL.Style | |
Show Element Source # | |
Generic Element Source # | |
type Rep Element Source # | |
Defined in Text.CSL.Style type Rep Element = D1 (MetaData "Element" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (((C1 (MetaCons "Choose" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 IfThen) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [IfThen]) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Element]))) :+: C1 (MetaCons "Macro" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))) :+: (C1 (MetaCons "Const" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)) :+: (C1 (MetaCons "Variable" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String]) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Form)) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Delimiter))) :+: C1 (MetaCons "Term" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Form)) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)))))) :+: ((C1 (MetaCons "Label" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Form)) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Plural))) :+: (C1 (MetaCons "Number" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 NumericForm) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))) :+: C1 (MetaCons "Names" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String]) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Name])) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Delimiter) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Element])))))) :+: (C1 (MetaCons "Substitute" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Element])) :+: (C1 (MetaCons "Group" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Delimiter) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Element]))) :+: C1 (MetaCons "Date" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String]) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DateForm) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Delimiter) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [DatePart]) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))))))) |
Instances
Eq IfThen Source # | |
Data IfThen Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IfThen -> c IfThen gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IfThen dataTypeOf :: IfThen -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IfThen) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IfThen) gmapT :: (forall b. Data b => b -> b) -> IfThen -> IfThen gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IfThen -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IfThen -> r gmapQ :: (forall d. Data d => d -> u) -> IfThen -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> IfThen -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> IfThen -> m IfThen gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IfThen -> m IfThen gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IfThen -> m IfThen | |
Read IfThen Source # | |
Defined in Text.CSL.Style | |
Show IfThen Source # | |
Generic IfThen Source # | |
type Rep IfThen Source # | |
Defined in Text.CSL.Style type Rep IfThen = D1 (MetaData "IfThen" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "IfThen" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Condition) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Match) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Element])))) |
Constructors
Condition | |
Fields
|
Instances
Eq Condition Source # | |
Data Condition Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Condition -> c Condition gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Condition toConstr :: Condition -> Constr dataTypeOf :: Condition -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Condition) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Condition) gmapT :: (forall b. Data b => b -> b) -> Condition -> Condition gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Condition -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Condition -> r gmapQ :: (forall d. Data d => d -> u) -> Condition -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Condition -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Condition -> m Condition gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Condition -> m Condition gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Condition -> m Condition | |
Read Condition Source # | |
Defined in Text.CSL.Style | |
Show Condition Source # | |
Generic Condition Source # | |
type Rep Condition Source # | |
Defined in Text.CSL.Style type Rep Condition = D1 (MetaData "Condition" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "Condition" PrefixI True) ((S1 (MetaSel (Just "isType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String]) :*: (S1 (MetaSel (Just "isSet") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String]) :*: S1 (MetaSel (Just "isNumeric") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String]))) :*: ((S1 (MetaSel (Just "isUncertainDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String]) :*: S1 (MetaSel (Just "isPosition") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String])) :*: (S1 (MetaSel (Just "disambiguation") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String]) :*: S1 (MetaSel (Just "isLocator") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String]))))) |
Instances
Eq Match Source # | |
Data Match Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Match -> c Match gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Match dataTypeOf :: Match -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Match) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Match) gmapT :: (forall b. Data b => b -> b) -> Match -> Match gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Match -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Match -> r gmapQ :: (forall d. Data d => d -> u) -> Match -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Match -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Match -> m Match gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Match -> m Match gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Match -> m Match | |
Read Match Source # | |
Defined in Text.CSL.Style | |
Show Match Source # | |
Generic Match Source # | |
type Rep Match Source # | |
Defined in Text.CSL.Style type Rep Match = D1 (MetaData "Match" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "Any" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "All" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "None" PrefixI False) (U1 :: Type -> Type))) |
Constructors
DatePart | |
Fields
|
Instances
Eq DatePart Source # | |
Data DatePart Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DatePart -> c DatePart gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DatePart toConstr :: DatePart -> Constr dataTypeOf :: DatePart -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DatePart) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DatePart) gmapT :: (forall b. Data b => b -> b) -> DatePart -> DatePart gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DatePart -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DatePart -> r gmapQ :: (forall d. Data d => d -> u) -> DatePart -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> DatePart -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> DatePart -> m DatePart gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DatePart -> m DatePart gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DatePart -> m DatePart | |
Read DatePart Source # | |
Defined in Text.CSL.Style | |
Show DatePart Source # | |
Generic DatePart Source # | |
type Rep DatePart Source # | |
Defined in Text.CSL.Style type Rep DatePart = D1 (MetaData "DatePart" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "DatePart" PrefixI True) ((S1 (MetaSel (Just "dpName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "dpForm") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :*: (S1 (MetaSel (Just "dpRangeDelim") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "dpFormatting") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)))) |
defaultDate :: [DatePart] Source #
Constructors
SortVariable String Sorting | |
SortMacro String Sorting Int Int String |
Instances
Eq Sort Source # | |
Data Sort Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Sort -> c Sort gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Sort dataTypeOf :: Sort -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Sort) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Sort) gmapT :: (forall b. Data b => b -> b) -> Sort -> Sort gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Sort -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Sort -> r gmapQ :: (forall d. Data d => d -> u) -> Sort -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Sort -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Sort -> m Sort gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Sort -> m Sort gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Sort -> m Sort | |
Read Sort Source # | |
Defined in Text.CSL.Style | |
Show Sort Source # | |
Generic Sort Source # | |
type Rep Sort Source # | |
Defined in Text.CSL.Style type Rep Sort = D1 (MetaData "Sort" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "SortVariable" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Sorting)) :+: C1 (MetaCons "SortMacro" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Sorting)) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))) |
Constructors
Ascending String | |
Descending String |
Instances
Eq Sorting Source # | |
Data Sorting Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Sorting -> c Sorting gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Sorting dataTypeOf :: Sorting -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Sorting) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Sorting) gmapT :: (forall b. Data b => b -> b) -> Sorting -> Sorting gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Sorting -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Sorting -> r gmapQ :: (forall d. Data d => d -> u) -> Sorting -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Sorting -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Sorting -> m Sorting gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Sorting -> m Sorting gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Sorting -> m Sorting | |
Ord Sorting Source # | |
Read Sorting Source # | |
Defined in Text.CSL.Style | |
Show Sorting Source # | |
Generic Sorting Source # | |
type Rep Sorting Source # | |
Defined in Text.CSL.Style type Rep Sorting = D1 (MetaData "Sorting" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "Ascending" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :+: C1 (MetaCons "Descending" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) |
Instances
Eq Form Source # | |
Data Form Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Form -> c Form gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Form dataTypeOf :: Form -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Form) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Form) gmapT :: (forall b. Data b => b -> b) -> Form -> Form gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Form -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Form -> r gmapQ :: (forall d. Data d => d -> u) -> Form -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Form -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Form -> m Form gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Form -> m Form gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Form -> m Form | |
Read Form Source # | |
Defined in Text.CSL.Style | |
Show Form Source # | |
Generic Form Source # | |
type Rep Form Source # | |
Defined in Text.CSL.Style type Rep Form = D1 (MetaData "Form" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) ((C1 (MetaCons "Long" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Short" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Count" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Verb" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "VerbShort" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Symbol" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NotSet" PrefixI False) (U1 :: Type -> Type)))) |
Instances
Eq Gender Source # | |
Data Gender Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Gender -> c Gender gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Gender dataTypeOf :: Gender -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Gender) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Gender) gmapT :: (forall b. Data b => b -> b) -> Gender -> Gender gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Gender -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Gender -> r gmapQ :: (forall d. Data d => d -> u) -> Gender -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Gender -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Gender -> m Gender gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Gender -> m Gender gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Gender -> m Gender | |
Read Gender Source # | |
Defined in Text.CSL.Style | |
Show Gender Source # | |
Generic Gender Source # | |
type Rep Gender Source # | |
Defined in Text.CSL.Style type Rep Gender = D1 (MetaData "Gender" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "Feminine" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Masculine" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Neuter" PrefixI False) (U1 :: Type -> Type))) |
data NumericForm Source #
Constructors
Numeric | |
Ordinal | |
Roman | |
LongOrdinal |
Instances
Eq NumericForm Source # | |
Defined in Text.CSL.Style | |
Data NumericForm Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NumericForm -> c NumericForm gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NumericForm toConstr :: NumericForm -> Constr dataTypeOf :: NumericForm -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NumericForm) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NumericForm) gmapT :: (forall b. Data b => b -> b) -> NumericForm -> NumericForm gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NumericForm -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NumericForm -> r gmapQ :: (forall d. Data d => d -> u) -> NumericForm -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> NumericForm -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> NumericForm -> m NumericForm gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NumericForm -> m NumericForm gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NumericForm -> m NumericForm | |
Read NumericForm Source # | |
Defined in Text.CSL.Style Methods readsPrec :: Int -> ReadS NumericForm readList :: ReadS [NumericForm] readPrec :: ReadPrec NumericForm readListPrec :: ReadPrec [NumericForm] | |
Show NumericForm Source # | |
Defined in Text.CSL.Style Methods showsPrec :: Int -> NumericForm -> ShowS show :: NumericForm -> String showList :: [NumericForm] -> ShowS | |
Generic NumericForm Source # | |
Defined in Text.CSL.Style Associated Types type Rep NumericForm :: Type -> Type | |
type Rep NumericForm Source # | |
Defined in Text.CSL.Style type Rep NumericForm = D1 (MetaData "NumericForm" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) ((C1 (MetaCons "Numeric" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Ordinal" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Roman" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LongOrdinal" PrefixI False) (U1 :: Type -> Type))) |
Constructors
TextDate | |
NumericDate | |
NoFormDate |
Instances
Eq DateForm Source # | |
Data DateForm Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DateForm -> c DateForm gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DateForm toConstr :: DateForm -> Constr dataTypeOf :: DateForm -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DateForm) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DateForm) gmapT :: (forall b. Data b => b -> b) -> DateForm -> DateForm gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DateForm -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DateForm -> r gmapQ :: (forall d. Data d => d -> u) -> DateForm -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> DateForm -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> DateForm -> m DateForm gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DateForm -> m DateForm gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DateForm -> m DateForm | |
Read DateForm Source # | |
Defined in Text.CSL.Style | |
Show DateForm Source # | |
Generic DateForm Source # | |
type Rep DateForm Source # | |
Defined in Text.CSL.Style type Rep DateForm = D1 (MetaData "DateForm" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "TextDate" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "NumericDate" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NoFormDate" PrefixI False) (U1 :: Type -> Type))) |
Constructors
Contextual | |
Always | |
Never |
Instances
Eq Plural Source # | |
Data Plural Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Plural -> c Plural gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Plural dataTypeOf :: Plural -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Plural) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Plural) gmapT :: (forall b. Data b => b -> b) -> Plural -> Plural gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Plural -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Plural -> r gmapQ :: (forall d. Data d => d -> u) -> Plural -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Plural -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Plural -> m Plural gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Plural -> m Plural gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Plural -> m Plural | |
Read Plural Source # | |
Defined in Text.CSL.Style | |
Show Plural Source # | |
Generic Plural Source # | |
type Rep Plural Source # | |
Defined in Text.CSL.Style type Rep Plural = D1 (MetaData "Plural" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "Contextual" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Always" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Never" PrefixI False) (U1 :: Type -> Type))) |
Constructors
Name Form Formatting NameAttrs Delimiter [NamePart] | |
NameLabel Form Formatting Plural | |
EtAl Formatting String |
Instances
Eq Name Source # | |
Data Name Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Name -> c Name gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Name dataTypeOf :: Name -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Name) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Name) gmapT :: (forall b. Data b => b -> b) -> Name -> Name gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Name -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Name -> r gmapQ :: (forall d. Data d => d -> u) -> Name -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Name -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Name -> m Name gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Name -> m Name gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Name -> m Name | |
Read Name Source # | |
Defined in Text.CSL.Style | |
Show Name Source # | |
Generic Name Source # | |
type Rep Name Source # | |
Defined in Text.CSL.Style type Rep Name = D1 (MetaData "Name" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "Name" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Form) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 NameAttrs) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Delimiter) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [NamePart])))) :+: (C1 (MetaCons "NameLabel" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Form) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Plural))) :+: C1 (MetaCons "EtAl" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))) |
Constructors
NamePart String Formatting |
Instances
Eq NamePart Source # | |
Data NamePart Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NamePart -> c NamePart gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NamePart toConstr :: NamePart -> Constr dataTypeOf :: NamePart -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NamePart) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NamePart) gmapT :: (forall b. Data b => b -> b) -> NamePart -> NamePart gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NamePart -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NamePart -> r gmapQ :: (forall d. Data d => d -> u) -> NamePart -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> NamePart -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> NamePart -> m NamePart gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NamePart -> m NamePart gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NamePart -> m NamePart | |
Read NamePart Source # | |
Defined in Text.CSL.Style | |
Show NamePart Source # | |
Generic NamePart Source # | |
type Rep NamePart Source # | |
Defined in Text.CSL.Style type Rep NamePart = D1 (MetaData "NamePart" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "NamePart" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))) |
data Formatting Source #
Constructors
Formatting | |
Fields
|
Instances
Eq Formatting Source # | |
Defined in Text.CSL.Style | |
Data Formatting Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Formatting -> c Formatting gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Formatting toConstr :: Formatting -> Constr dataTypeOf :: Formatting -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Formatting) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Formatting) gmapT :: (forall b. Data b => b -> b) -> Formatting -> Formatting gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Formatting -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Formatting -> r gmapQ :: (forall d. Data d => d -> u) -> Formatting -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Formatting -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Formatting -> m Formatting gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Formatting -> m Formatting gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Formatting -> m Formatting | |
Ord Formatting Source # | |
Defined in Text.CSL.Style Methods compare :: Formatting -> Formatting -> Ordering (<) :: Formatting -> Formatting -> Bool (<=) :: Formatting -> Formatting -> Bool (>) :: Formatting -> Formatting -> Bool (>=) :: Formatting -> Formatting -> Bool max :: Formatting -> Formatting -> Formatting min :: Formatting -> Formatting -> Formatting | |
Read Formatting Source # | |
Defined in Text.CSL.Style Methods readsPrec :: Int -> ReadS Formatting readList :: ReadS [Formatting] readPrec :: ReadPrec Formatting readListPrec :: ReadPrec [Formatting] | |
Show Formatting Source # | |
Defined in Text.CSL.Style Methods showsPrec :: Int -> Formatting -> ShowS show :: Formatting -> String showList :: [Formatting] -> ShowS | |
Generic Formatting Source # | |
Defined in Text.CSL.Style Associated Types type Rep Formatting :: Type -> Type | |
type Rep Formatting Source # | |
Defined in Text.CSL.Style type Rep Formatting = D1 (MetaData "Formatting" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "Formatting" PrefixI True) (((S1 (MetaSel (Just "prefix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: (S1 (MetaSel (Just "suffix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "fontFamily") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) :*: ((S1 (MetaSel (Just "fontStyle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "fontVariant") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :*: (S1 (MetaSel (Just "fontWeight") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "textDecoration") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))) :*: (((S1 (MetaSel (Just "verticalAlign") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "textCase") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :*: (S1 (MetaSel (Just "display") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "quotes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Quote))) :*: ((S1 (MetaSel (Just "stripPeriods") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: S1 (MetaSel (Just "noCase") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) :*: (S1 (MetaSel (Just "noDecor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: S1 (MetaSel (Just "hyperlink") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))))) |
rmTitleCase :: Formatting -> Formatting Source #
rmTitleCase' :: Output -> Output Source #
Constructors
NativeQuote | |
ParsedQuote | |
NoQuote |
Instances
Eq Quote Source # | |
Data Quote Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Quote -> c Quote gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Quote dataTypeOf :: Quote -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Quote) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Quote) gmapT :: (forall b. Data b => b -> b) -> Quote -> Quote gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Quote -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Quote -> r gmapQ :: (forall d. Data d => d -> u) -> Quote -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Quote -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Quote -> m Quote gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Quote -> m Quote gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Quote -> m Quote | |
Ord Quote Source # | |
Read Quote Source # | |
Defined in Text.CSL.Style | |
Show Quote Source # | |
Generic Quote Source # | |
type Rep Quote Source # | |
Defined in Text.CSL.Style type Rep Quote = D1 (MetaData "Quote" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "NativeQuote" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ParsedQuote" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NoQuote" PrefixI False) (U1 :: Type -> Type))) |
mergeFM :: Formatting -> Formatting -> Formatting Source #
Constructors
CSInfo | |
Fields
|
Instances
Data CSInfo Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CSInfo -> c CSInfo gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CSInfo dataTypeOf :: CSInfo -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CSInfo) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CSInfo) gmapT :: (forall b. Data b => b -> b) -> CSInfo -> CSInfo gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CSInfo -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CSInfo -> r gmapQ :: (forall d. Data d => d -> u) -> CSInfo -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CSInfo -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CSInfo -> m CSInfo gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CSInfo -> m CSInfo gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CSInfo -> m CSInfo | |
Read CSInfo Source # | |
Defined in Text.CSL.Style | |
Show CSInfo Source # | |
Generic CSInfo Source # | |
type Rep CSInfo Source # | |
Defined in Text.CSL.Style type Rep CSInfo = D1 (MetaData "CSInfo" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "CSInfo" PrefixI True) ((S1 (MetaSel (Just "csiTitle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "csiAuthor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CSAuthor)) :*: (S1 (MetaSel (Just "csiCategories") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [CSCategory]) :*: (S1 (MetaSel (Just "csiId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "csiUpdated") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))) |
Constructors
CSAuthor String String String |
Instances
Eq CSAuthor Source # | |
Data CSAuthor Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CSAuthor -> c CSAuthor gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CSAuthor toConstr :: CSAuthor -> Constr dataTypeOf :: CSAuthor -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CSAuthor) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CSAuthor) gmapT :: (forall b. Data b => b -> b) -> CSAuthor -> CSAuthor gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CSAuthor -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CSAuthor -> r gmapQ :: (forall d. Data d => d -> u) -> CSAuthor -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CSAuthor -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CSAuthor -> m CSAuthor gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CSAuthor -> m CSAuthor gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CSAuthor -> m CSAuthor | |
Read CSAuthor Source # | |
Defined in Text.CSL.Style | |
Show CSAuthor Source # | |
Generic CSAuthor Source # | |
type Rep CSAuthor Source # | |
Defined in Text.CSL.Style type Rep CSAuthor = D1 (MetaData "CSAuthor" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "CSAuthor" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))) |
data CSCategory Source #
Constructors
CSCategory String String String |
Instances
Eq CSCategory Source # | |
Defined in Text.CSL.Style | |
Data CSCategory Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CSCategory -> c CSCategory gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CSCategory toConstr :: CSCategory -> Constr dataTypeOf :: CSCategory -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CSCategory) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CSCategory) gmapT :: (forall b. Data b => b -> b) -> CSCategory -> CSCategory gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CSCategory -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CSCategory -> r gmapQ :: (forall d. Data d => d -> u) -> CSCategory -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CSCategory -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CSCategory -> m CSCategory gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CSCategory -> m CSCategory gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CSCategory -> m CSCategory | |
Read CSCategory Source # | |
Defined in Text.CSL.Style Methods readsPrec :: Int -> ReadS CSCategory readList :: ReadS [CSCategory] readPrec :: ReadPrec CSCategory readListPrec :: ReadPrec [CSCategory] | |
Show CSCategory Source # | |
Defined in Text.CSL.Style Methods showsPrec :: Int -> CSCategory -> ShowS show :: CSCategory -> String showList :: [CSCategory] -> ShowS | |
Generic CSCategory Source # | |
Defined in Text.CSL.Style Associated Types type Rep CSCategory :: Type -> Type | |
type Rep CSCategory Source # | |
Defined in Text.CSL.Style type Rep CSCategory = D1 (MetaData "CSCategory" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "CSCategory" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))) |
data CiteprocError Source #
Constructors
NoOutput | |
ReferenceNotFound String |
Instances
Eq CiteprocError Source # | |
Defined in Text.CSL.Style | |
Data CiteprocError Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CiteprocError -> c CiteprocError gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CiteprocError toConstr :: CiteprocError -> Constr dataTypeOf :: CiteprocError -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CiteprocError) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CiteprocError) gmapT :: (forall b. Data b => b -> b) -> CiteprocError -> CiteprocError gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CiteprocError -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CiteprocError -> r gmapQ :: (forall d. Data d => d -> u) -> CiteprocError -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CiteprocError -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CiteprocError -> m CiteprocError gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CiteprocError -> m CiteprocError gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CiteprocError -> m CiteprocError | |
Ord CiteprocError Source # | |
Defined in Text.CSL.Style Methods compare :: CiteprocError -> CiteprocError -> Ordering (<) :: CiteprocError -> CiteprocError -> Bool (<=) :: CiteprocError -> CiteprocError -> Bool (>) :: CiteprocError -> CiteprocError -> Bool (>=) :: CiteprocError -> CiteprocError -> Bool max :: CiteprocError -> CiteprocError -> CiteprocError min :: CiteprocError -> CiteprocError -> CiteprocError | |
Show CiteprocError Source # | |
Defined in Text.CSL.Style Methods showsPrec :: Int -> CiteprocError -> ShowS show :: CiteprocError -> String showList :: [CiteprocError] -> ShowS | |
Generic CiteprocError Source # | |
Defined in Text.CSL.Style Associated Types type Rep CiteprocError :: Type -> Type | |
type Rep CiteprocError Source # | |
Defined in Text.CSL.Style type Rep CiteprocError = D1 (MetaData "CiteprocError" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "NoOutput" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ReferenceNotFound" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) |
The Output
generated by the evaluation of a style. Must be
further processed for disambiguation and collapsing.
Constructors
ONull | |
OSpace | |
OPan [Inline] | |
ODel String | A delimiter string. |
OStr String Formatting | A simple |
OErr CiteprocError | Warning message |
OLabel String Formatting | A label used for roles |
ONum Int Formatting | A number (used to count contributors) |
OCitNum Int Formatting | The citation number |
OCitLabel String Formatting | The citation label |
ODate [Output] | A (possibly) ranged date |
OYear String String Formatting | The year and the citeId |
OYearSuf String String [Output] Formatting | The year suffix, the citeId and a holder for collision data |
OName Agent [Output] [[Output]] Formatting | A (family) name with the list of given names. |
OContrib String String [Output] [Output] [[Output]] | The citation key, the role (author, editor, etc.), the contributor(s), the output needed for year suf. disambiguation, and everything used for name disambiguation. |
OLoc [Output] Formatting | The citation's locator |
Output [Output] Formatting | Some nested |
Instances
Eq Output Source # | |
Data Output Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Output -> c Output gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Output dataTypeOf :: Output -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Output) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Output) gmapT :: (forall b. Data b => b -> b) -> Output -> Output gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Output -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Output -> r gmapQ :: (forall d. Data d => d -> u) -> Output -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Output -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Output -> m Output gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Output -> m Output gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Output -> m Output | |
Ord Output Source # | |
Show Output Source # | |
Generic Output Source # | |
type Rep Output Source # | |
Defined in Text.CSL.Style type Rep Output = D1 (MetaData "Output" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) ((((C1 (MetaCons "ONull" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "OSpace" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "OPan" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Inline])) :+: C1 (MetaCons "ODel" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))) :+: ((C1 (MetaCons "OStr" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)) :+: C1 (MetaCons "OErr" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CiteprocError))) :+: (C1 (MetaCons "OLabel" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)) :+: C1 (MetaCons "ONum" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))))) :+: (((C1 (MetaCons "OCitNum" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)) :+: C1 (MetaCons "OCitLabel" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))) :+: (C1 (MetaCons "ODate" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output])) :+: C1 (MetaCons "OYear" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))))) :+: ((C1 (MetaCons "OYearSuf" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output]) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))) :+: C1 (MetaCons "OName" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Agent) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output])) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [[Output]]) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)))) :+: (C1 (MetaCons "OContrib" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output]) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output]) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [[Output]])))) :+: (C1 (MetaCons "OLoc" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output]) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)) :+: C1 (MetaCons "Output" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output]) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))))))) |
Constructors
Cite | |
Fields
|
Instances
Eq Cite Source # | |
Data Cite Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Cite -> c Cite gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Cite dataTypeOf :: Cite -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Cite) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Cite) gmapT :: (forall b. Data b => b -> b) -> Cite -> Cite gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Cite -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Cite -> r gmapQ :: (forall d. Data d => d -> u) -> Cite -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Cite -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Cite -> m Cite gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Cite -> m Cite gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Cite -> m Cite | |
Show Cite Source # | |
Generic Cite Source # | |
FromJSON Cite Source # | |
Defined in Text.CSL.Style | |
FromJSON [[Cite]] Source # | |
Defined in Text.CSL.Style | |
type Rep Cite Source # | |
Defined in Text.CSL.Style type Rep Cite = D1 (MetaData "Cite" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "Cite" PrefixI True) (((S1 (MetaSel (Just "citeId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "citePrefix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)) :*: (S1 (MetaSel (Just "citeSuffix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: (S1 (MetaSel (Just "citeLabel") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "citeLocator") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))) :*: ((S1 (MetaSel (Just "citeNoteNumber") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: (S1 (MetaSel (Just "citePosition") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Just "nearNote") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))) :*: (S1 (MetaSel (Just "authorInText") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: (S1 (MetaSel (Just "suppressAuthor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: S1 (MetaSel (Just "citeHash") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))))) |
data CitationGroup Source #
A citation group: the first list has a single member when the
citation group starts with an "author-in-text" cite, the
Formatting
to be applied, the Delimiter
between individual
citations and the list of evaluated citations.
Instances
Eq CitationGroup Source # | |
Defined in Text.CSL.Style | |
Data CitationGroup Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CitationGroup -> c CitationGroup gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CitationGroup toConstr :: CitationGroup -> Constr dataTypeOf :: CitationGroup -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CitationGroup) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CitationGroup) gmapT :: (forall b. Data b => b -> b) -> CitationGroup -> CitationGroup gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CitationGroup -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CitationGroup -> r gmapQ :: (forall d. Data d => d -> u) -> CitationGroup -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CitationGroup -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CitationGroup -> m CitationGroup gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CitationGroup -> m CitationGroup gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CitationGroup -> m CitationGroup | |
Show CitationGroup Source # | |
Defined in Text.CSL.Style Methods showsPrec :: Int -> CitationGroup -> ShowS show :: CitationGroup -> String showList :: [CitationGroup] -> ShowS | |
Generic CitationGroup Source # | |
Defined in Text.CSL.Style Associated Types type Rep CitationGroup :: Type -> Type | |
type Rep CitationGroup Source # | |
Defined in Text.CSL.Style type Rep CitationGroup = D1 (MetaData "CitationGroup" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "CG" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [(Cite, Output)]) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Delimiter) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [(Cite, Output)])))) |
data BiblioData Source #
Constructors
BD | |
Fields
|
Instances
Data BiblioData Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BiblioData -> c BiblioData gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BiblioData toConstr :: BiblioData -> Constr dataTypeOf :: BiblioData -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BiblioData) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BiblioData) gmapT :: (forall b. Data b => b -> b) -> BiblioData -> BiblioData gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BiblioData -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BiblioData -> r gmapQ :: (forall d. Data d => d -> u) -> BiblioData -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> BiblioData -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> BiblioData -> m BiblioData gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BiblioData -> m BiblioData gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BiblioData -> m BiblioData | |
Show BiblioData Source # | |
Defined in Text.CSL.Style Methods showsPrec :: Int -> BiblioData -> ShowS show :: BiblioData -> String showList :: [BiblioData] -> ShowS | |
Generic BiblioData Source # | |
Defined in Text.CSL.Style Associated Types type Rep BiblioData :: Type -> Type | |
type Rep BiblioData Source # | |
Defined in Text.CSL.Style type Rep BiblioData = D1 (MetaData "BiblioData" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "BD" PrefixI True) (S1 (MetaSel (Just "citations") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Formatted]) :*: (S1 (MetaSel (Just "bibliography") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Formatted]) :*: S1 (MetaSel (Just "citationIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String])))) |
A record with all the data to produce the Formatted
of a
citation: the citation key, the part of the formatted citation that
may be colliding with other citations, the form of the citation
when a year suffix is used for disambiguation , the data to
disambiguate it (all possible contributors and all possible given
names), and, after processing, the disambiguated citation and its
year, initially empty.
Constructors
CD | |
Instances
Eq CiteData Source # | |
Data CiteData Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CiteData -> c CiteData gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CiteData toConstr :: CiteData -> Constr dataTypeOf :: CiteData -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CiteData) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CiteData) gmapT :: (forall b. Data b => b -> b) -> CiteData -> CiteData gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CiteData -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CiteData -> r gmapQ :: (forall d. Data d => d -> u) -> CiteData -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CiteData -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CiteData -> m CiteData gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CiteData -> m CiteData gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CiteData -> m CiteData | |
Show CiteData Source # | |
Generic CiteData Source # | |
type Rep CiteData Source # | |
Defined in Text.CSL.Style type Rep CiteData = D1 (MetaData "CiteData" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "CD" PrefixI True) ((S1 (MetaSel (Just "key") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: (S1 (MetaSel (Just "collision") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output]) :*: S1 (MetaSel (Just "disambYS") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output]))) :*: ((S1 (MetaSel (Just "disambData") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [[Output]]) :*: S1 (MetaSel (Just "disambed") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output])) :*: (S1 (MetaSel (Just "sameAs") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String]) :*: S1 (MetaSel (Just "citYear") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))) |
Constructors
ND | |
Fields
|
Instances
Eq NameData Source # | |
Data NameData Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NameData -> c NameData gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NameData toConstr :: NameData -> Constr dataTypeOf :: NameData -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NameData) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NameData) gmapT :: (forall b. Data b => b -> b) -> NameData -> NameData gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NameData -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NameData -> r gmapQ :: (forall d. Data d => d -> u) -> NameData -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> NameData -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> NameData -> m NameData gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NameData -> m NameData gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NameData -> m NameData | |
Show NameData Source # | |
Generic NameData Source # | |
type Rep NameData Source # | |
Defined in Text.CSL.Style type Rep NameData = D1 (MetaData "NameData" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "ND" PrefixI True) ((S1 (MetaSel (Just "nameKey") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Agent) :*: S1 (MetaSel (Just "nameCollision") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output])) :*: (S1 (MetaSel (Just "nameDisambData") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [[Output]]) :*: S1 (MetaSel (Just "nameDataSolved") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output])))) |
isPunctuationInQuote :: Style -> Bool Source #
Constructors
Agent | |
Fields
|
Instances
Eq Agent Source # | |
Data Agent Source # | |
Defined in Text.CSL.Style Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Agent -> c Agent gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Agent dataTypeOf :: Agent -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Agent) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Agent) gmapT :: (forall b. Data b => b -> b) -> Agent -> Agent gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Agent -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Agent -> r gmapQ :: (forall d. Data d => d -> u) -> Agent -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Agent -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Agent -> m Agent gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Agent -> m Agent gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Agent -> m Agent | |
Ord Agent Source # | |
Read Agent Source # | |
Defined in Text.CSL.Style | |
Show Agent Source # | |
Generic Agent Source # | |
FromJSON Agent Source # | |
Defined in Text.CSL.Style | |
ToJSON Agent Source # | |
Defined in Text.CSL.Style Methods toEncoding :: Agent -> Encoding toJSONList :: [Agent] -> Value toEncodingList :: [Agent] -> Encoding | |
ToYaml Agent Source # | |
Defined in Text.CSL.Style | |
FromJSON [Agent] Source # | |
Defined in Text.CSL.Style | |
type Rep Agent Source # | |
Defined in Text.CSL.Style type Rep Agent = D1 (MetaData "Agent" "Text.CSL.Style" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "Agent" PrefixI True) (((S1 (MetaSel (Just "givenName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Formatted]) :*: S1 (MetaSel (Just "droppingPart") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)) :*: (S1 (MetaSel (Just "nonDroppingPart") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "familyName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted))) :*: ((S1 (MetaSel (Just "nameSuffix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "literal") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)) :*: (S1 (MetaSel (Just "commaSuffix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: S1 (MetaSel (Just "parseNames") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))))) |
emptyAgent :: Agent Source #