Text.CSL.Style

pandoc-citeproc-0.10.4.1: Supports using pandoc with citeproc

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 {
  - citOptions :: [Option]
  - citSort :: [Sort]
  - citLayout :: Layout
  }
- data Bibliography = Bibliography {
  - bibOptions :: [Option]
  - bibSort :: [Sort]
  - bibLayout :: Layout
  }
- type Option = (String, String)
- mergeOptions :: [Option] -> [Option] -> [Option]
- data Layout = Layout {
  - layFormat :: Formatting
  - layDelim :: Delimiter
  - elements :: [Element]
  }
- 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
  - = Any
  - | All
  - | None
- 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
  - = Long
  - | Short
  - | Count
  - | Verb
  - | VerbShort
  - | Symbol
  - | NotSet
- data Gender
  - = Feminine
  - | Masculine
  - | Neuter
- data NumericForm
  - = Numeric
  - | Ordinal
  - | Roman
  - | LongOrdinal
- data DateForm
  - = TextDate
  - | NumericDate
  - | NoFormDate
- 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
- data Quote
  - = NativeQuote
  - | ParsedQuote
  - | NoQuote
- 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
  - | 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 {
  - key :: String
  - collision :: [Output]
  - disambYS :: [Output]
  - disambData :: [[Output]]
  - disambed :: [Output]
  - sameAs :: [String]
  - citYear :: String
  }
- 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] #

writeCSLString :: [Inline] -> String #

newtype Formatted #

Constructors

Formatted |
Fields unFormatted :: [Inline]

Instances

Eq Formatted # |
Methods (==) :: Formatted -> Formatted -> Bool # (/=) :: Formatted -> Formatted -> Bool #
Data Formatted # |
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 # |
Methods compare :: Formatted -> Formatted -> Ordering # (<) :: Formatted -> Formatted -> Bool # (<=) :: Formatted -> Formatted -> Bool # (>) :: Formatted -> Formatted -> Bool # (>=) :: Formatted -> Formatted -> Bool # max :: Formatted -> Formatted -> Formatted # min :: Formatted -> Formatted -> Formatted #
Read Formatted # |
Methods readsPrec :: Int -> ReadS Formatted # readList :: ReadS [Formatted] # readPrec :: ReadPrec Formatted # readListPrec :: ReadPrec [Formatted] #
Show Formatted # |
Methods showsPrec :: Int -> Formatted -> ShowS # show :: Formatted -> String # showList :: [Formatted] -> ShowS #
IsString Formatted # |
Methods fromString :: String -> Formatted #
Generic Formatted # |
Associated Types type Rep Formatted :: * -> * # Methods from :: Formatted -> Rep Formatted x # to :: Rep Formatted x -> Formatted #
Monoid Formatted # |
Methods mempty :: Formatted # mappend :: Formatted -> Formatted -> Formatted # mconcat :: [Formatted] -> Formatted #
FromJSON Formatted # |
Methods parseJSON :: Value -> Parser Formatted # parseJSONList :: Value -> Parser [Formatted] #
ToJSON Formatted # |
Methods toJSON :: Formatted -> Value # toEncoding :: Formatted -> Encoding # toJSONList :: [Formatted] -> Value # toEncodingList :: [Formatted] -> Encoding #
ToYaml Formatted # |
Methods toYaml :: Formatted -> YamlBuilder #
Walkable Inline Formatted # |
Methods walk :: (Inline -> Inline) -> Formatted -> Formatted # walkM :: (Monad m, Functor m) => (Inline -> m Inline) -> Formatted -> m Formatted # query :: Monoid c => (Inline -> c) -> Formatted -> c #
Walkable Formatted Formatted # |
Methods walk :: (Formatted -> Formatted) -> Formatted -> Formatted # walkM :: (Monad m, Functor m) => (Formatted -> m Formatted) -> Formatted -> m Formatted # query :: Monoid c => (Formatted -> c) -> Formatted -> c #
type Rep Formatted # |
type Rep Formatted = D1 (MetaData "Formatted" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" True) (C1 (MetaCons "Formatted" PrefixI True) (S1 (MetaSel (Just Symbol "unFormatted") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Inline])))

data Style #

The representation of a parsed CSL style.

Constructors

Style |
Fields styleVersion :: String styleClass :: String styleInfo :: Maybe CSInfo styleDefaultLocale :: String styleLocale :: [Locale] styleAbbrevs :: Abbreviations csOptions :: [Option] csMacros :: [MacroMap] citation :: Citation biblio :: Maybe Bibliography

Instances

Data 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 # toConstr :: Style -> Constr # 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 # |
Methods readsPrec :: Int -> ReadS Style # readList :: ReadS [Style] # readPrec :: ReadPrec Style # readListPrec :: ReadPrec [Style] #
Show Style # |
Methods showsPrec :: Int -> Style -> ShowS # show :: Style -> String # showList :: [Style] -> ShowS #
Generic Style # |
Associated Types type Rep Style :: * -> * # Methods from :: Style -> Rep Style x # to :: Rep Style x -> Style #
type Rep Style # |
type Rep Style = D1 (MetaData "Style" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "Style" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "styleVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "styleClass") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) ((:*:) (S1 (MetaSel (Just Symbol "styleInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe CSInfo))) ((:*:) (S1 (MetaSel (Just Symbol "styleDefaultLocale") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "styleLocale") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Locale]))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "styleAbbrevs") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Abbreviations)) (S1 (MetaSel (Just Symbol "csOptions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Option]))) ((:*:) (S1 (MetaSel (Just Symbol "csMacros") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [MacroMap])) ((:*:) (S1 (MetaSel (Just Symbol "citation") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Citation)) (S1 (MetaSel (Just Symbol "biblio") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bibliography))))))))

data Locale #

Constructors

Locale |
Fields localeVersion :: String localeLang :: String localeOptions :: [Option] localeTerms :: [CslTerm] localeDate :: [Element]

Instances

Eq Locale # |
Methods (==) :: Locale -> Locale -> Bool # (/=) :: Locale -> Locale -> Bool #
Data Locale # |
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 # toConstr :: Locale -> Constr # 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 # |
Methods readsPrec :: Int -> ReadS Locale # readList :: ReadS [Locale] # readPrec :: ReadPrec Locale # readListPrec :: ReadPrec [Locale] #
Show Locale # |
Methods showsPrec :: Int -> Locale -> ShowS # show :: Locale -> String # showList :: [Locale] -> ShowS #
Generic Locale # |
Associated Types type Rep Locale :: * -> * # Methods from :: Locale -> Rep Locale x # to :: Rep Locale x -> Locale #
type Rep Locale # |
type Rep Locale = D1 (MetaData "Locale" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "Locale" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "localeVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "localeLang") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) ((:*:) (S1 (MetaSel (Just Symbol "localeOptions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Option])) ((:*:) (S1 (MetaSel (Just Symbol "localeTerms") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [CslTerm])) (S1 (MetaSel (Just Symbol "localeDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Element]))))))

mergeLocales :: String -> Locale -> [Locale] -> [Locale] #

With the `defaultLocale`, the locales-xx-XX.xml loaded file and the parsed `Style` cs:locale elements, produce the final `Locale` as the only element of a list, taking into account CSL locale prioritization.

data CslTerm #

Constructors

CT |
Fields cslTerm :: String termForm :: Form termGender :: Gender termGenderForm :: Gender termSingular :: String termPlural :: String termMatch :: String

Instances

Eq CslTerm # |
Methods (==) :: CslTerm -> CslTerm -> Bool # (/=) :: CslTerm -> CslTerm -> Bool #
Data CslTerm # |
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 # toConstr :: CslTerm -> Constr # 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 # |
Methods readsPrec :: Int -> ReadS CslTerm # readList :: ReadS [CslTerm] # readPrec :: ReadPrec CslTerm # readListPrec :: ReadPrec [CslTerm] #
Show CslTerm # |
Methods showsPrec :: Int -> CslTerm -> ShowS # show :: CslTerm -> String # showList :: [CslTerm] -> ShowS #
Generic CslTerm # |
Associated Types type Rep CslTerm :: * -> * # Methods from :: CslTerm -> Rep CslTerm x # to :: Rep CslTerm x -> CslTerm #
type Rep CslTerm # |
type Rep CslTerm = D1 (MetaData "CslTerm" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "CT" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "cslTerm") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) ((:*:) (S1 (MetaSel (Just Symbol "termForm") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Form)) (S1 (MetaSel (Just Symbol "termGender") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Gender)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "termGenderForm") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Gender)) (S1 (MetaSel (Just Symbol "termSingular") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) ((:*:) (S1 (MetaSel (Just Symbol "termPlural") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "termMatch") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))))

newTerm :: CslTerm #

findTerm :: String -> Form -> [CslTerm] -> Maybe CslTerm #

findTerm' :: String -> Form -> Gender -> [CslTerm] -> Maybe CslTerm #

newtype Abbreviations #

Constructors

Abbreviations |
Fields unAbbreviations :: Map String (Map String (Map String String))

Instances

Data Abbreviations # |
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 # |
Methods readsPrec :: Int -> ReadS Abbreviations # readList :: ReadS [Abbreviations] # readPrec :: ReadPrec Abbreviations # readListPrec :: ReadPrec [Abbreviations] #
Show Abbreviations # |
Methods showsPrec :: Int -> Abbreviations -> ShowS # show :: Abbreviations -> String # showList :: [Abbreviations] -> ShowS #
Generic Abbreviations # |
Associated Types type Rep Abbreviations :: * -> * # Methods from :: Abbreviations -> Rep Abbreviations x # to :: Rep Abbreviations x -> Abbreviations #
FromJSON Abbreviations # |
Methods parseJSON :: Value -> Parser Abbreviations # parseJSONList :: Value -> Parser [Abbreviations] #
type Rep Abbreviations # |
type Rep Abbreviations = D1 (MetaData "Abbreviations" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" True) (C1 (MetaCons "Abbreviations" PrefixI True) (S1 (MetaSel (Just Symbol "unAbbreviations") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Map String (Map String (Map String String))))))

type MacroMap = (String, [Element]) #

data Citation #

Constructors

Citation |
Fields citOptions :: [Option] citSort :: [Sort] citLayout :: Layout

Instances

Data Citation # |
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 # |
Methods readsPrec :: Int -> ReadS Citation # readList :: ReadS [Citation] # readPrec :: ReadPrec Citation # readListPrec :: ReadPrec [Citation] #
Show Citation # |
Methods showsPrec :: Int -> Citation -> ShowS # show :: Citation -> String # showList :: [Citation] -> ShowS #
Generic Citation # |
Associated Types type Rep Citation :: * -> * # Methods from :: Citation -> Rep Citation x # to :: Rep Citation x -> Citation #
type Rep Citation # |
type Rep Citation = D1 (MetaData "Citation" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "Citation" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "citOptions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Option])) ((:*:) (S1 (MetaSel (Just Symbol "citSort") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Sort])) (S1 (MetaSel (Just Symbol "citLayout") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Layout)))))

data Bibliography #

Constructors

Bibliography |
Fields bibOptions :: [Option] bibSort :: [Sort] bibLayout :: Layout

Instances

Data Bibliography # |
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 # |
Methods readsPrec :: Int -> ReadS Bibliography # readList :: ReadS [Bibliography] # readPrec :: ReadPrec Bibliography # readListPrec :: ReadPrec [Bibliography] #
Show Bibliography # |
Methods showsPrec :: Int -> Bibliography -> ShowS # show :: Bibliography -> String # showList :: [Bibliography] -> ShowS #
Generic Bibliography # |
Associated Types type Rep Bibliography :: * -> * # Methods from :: Bibliography -> Rep Bibliography x # to :: Rep Bibliography x -> Bibliography #
type Rep Bibliography # |
type Rep Bibliography = D1 (MetaData "Bibliography" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "Bibliography" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "bibOptions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Option])) ((:*:) (S1 (MetaSel (Just Symbol "bibSort") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Sort])) (S1 (MetaSel (Just Symbol "bibLayout") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Layout)))))

type Option = (String, String) #

mergeOptions :: [Option] -> [Option] -> [Option] #

data Layout #

Constructors

Layout |
Fields layFormat :: Formatting layDelim :: Delimiter elements :: [Element]

Instances

Data Layout # |
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 # toConstr :: Layout -> Constr # 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 # |
Methods readsPrec :: Int -> ReadS Layout # readList :: ReadS [Layout] # readPrec :: ReadPrec Layout # readListPrec :: ReadPrec [Layout] #
Show Layout # |
Methods showsPrec :: Int -> Layout -> ShowS # show :: Layout -> String # showList :: [Layout] -> ShowS #
Generic Layout # |
Associated Types type Rep Layout :: * -> * # Methods from :: Layout -> Rep Layout x # to :: Rep Layout x -> Layout #
type Rep Layout # |
type Rep Layout = D1 (MetaData "Layout" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "Layout" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "layFormat") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)) ((:*:) (S1 (MetaSel (Just Symbol "layDelim") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Delimiter)) (S1 (MetaSel (Just Symbol "elements") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Element])))))

data 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 # |
Methods (==) :: Element -> Element -> Bool # (/=) :: Element -> Element -> Bool #
Data Element # |
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 # toConstr :: Element -> Constr # 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 # |
Methods readsPrec :: Int -> ReadS Element # readList :: ReadS [Element] # readPrec :: ReadPrec Element # readListPrec :: ReadPrec [Element] #
Show Element # |
Methods showsPrec :: Int -> Element -> ShowS # show :: Element -> String # showList :: [Element] -> ShowS #
Generic Element # |
Associated Types type Rep Element :: * -> * # Methods from :: Element -> Rep Element x # to :: Rep Element x -> Element #
type Rep Element # |
type Rep Element = D1 (MetaData "Element" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Choose" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 IfThen)) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [IfThen])) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Element]))))) (C1 (MetaCons "Macro" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))))) ((:+:) (C1 (MetaCons "Const" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)))) ((:+:) (C1 (MetaCons "Variable" PrefixI False) ((:*:) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String])) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Form))) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Delimiter))))) (C1 (MetaCons "Term" PrefixI False) ((:*:) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Form))) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)))))))) ((:+:) ((:+:) (C1 (MetaCons "Label" PrefixI False) ((:*:) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Form))) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Plural))))) ((:+:) (C1 (MetaCons "Number" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 NumericForm)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))))) (C1 (MetaCons "Names" PrefixI False) ((:*:) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String])) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Name]))) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Delimiter)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Element])))))))) ((:+:) (C1 (MetaCons "Substitute" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Element]))) ((:+:) (C1 (MetaCons "Group" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Delimiter)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Element]))))) (C1 (MetaCons "Date" PrefixI False) ((:*:) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String])) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DateForm)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)))) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Delimiter)) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [DatePart])) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))))))))

data IfThen #

Constructors

IfThen Condition Match [Element] |

Instances

Eq IfThen # |
Methods (==) :: IfThen -> IfThen -> Bool # (/=) :: IfThen -> IfThen -> Bool #
Data IfThen # |
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 # toConstr :: IfThen -> Constr # 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 # |
Methods readsPrec :: Int -> ReadS IfThen # readList :: ReadS [IfThen] # readPrec :: ReadPrec IfThen # readListPrec :: ReadPrec [IfThen] #
Show IfThen # |
Methods showsPrec :: Int -> IfThen -> ShowS # show :: IfThen -> String # showList :: [IfThen] -> ShowS #
Generic IfThen # |
Associated Types type Rep IfThen :: * -> * # Methods from :: IfThen -> Rep IfThen x # to :: Rep IfThen x -> IfThen #
type Rep IfThen # |
type Rep IfThen = D1 (MetaData "IfThen" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "IfThen" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Condition)) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Match)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Element])))))

data Condition #

Constructors

Condition |
Fields isType :: [String] isSet :: [String] isNumeric :: [String] isUncertainDate :: [String] isPosition :: [String] disambiguation :: [String] isLocator :: [String]

Instances

Eq Condition # |
Methods (==) :: Condition -> Condition -> Bool # (/=) :: Condition -> Condition -> Bool #
Data Condition # |
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 # |
Methods readsPrec :: Int -> ReadS Condition # readList :: ReadS [Condition] # readPrec :: ReadPrec Condition # readListPrec :: ReadPrec [Condition] #
Show Condition # |
Methods showsPrec :: Int -> Condition -> ShowS # show :: Condition -> String # showList :: [Condition] -> ShowS #
Generic Condition # |
Associated Types type Rep Condition :: * -> * # Methods from :: Condition -> Rep Condition x # to :: Rep Condition x -> Condition #
type Rep Condition # |
type Rep Condition = D1 (MetaData "Condition" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "Condition" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "isType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String])) ((:*:) (S1 (MetaSel (Just Symbol "isSet") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String])) (S1 (MetaSel (Just Symbol "isNumeric") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String])))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "isUncertainDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String])) (S1 (MetaSel (Just Symbol "isPosition") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String]))) ((:*:) (S1 (MetaSel (Just Symbol "disambiguation") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String])) (S1 (MetaSel (Just Symbol "isLocator") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String]))))))

type Delimiter = String #

data Match #

Constructors

Any |
All |
None |

Instances

Eq Match # |
Methods (==) :: Match -> Match -> Bool # (/=) :: Match -> Match -> Bool #
Data Match # |
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 # toConstr :: Match -> Constr # 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 # |
Methods readsPrec :: Int -> ReadS Match # readList :: ReadS [Match] # readPrec :: ReadPrec Match # readListPrec :: ReadPrec [Match] #
Show Match # |
Methods showsPrec :: Int -> Match -> ShowS # show :: Match -> String # showList :: [Match] -> ShowS #
Generic Match # |
Associated Types type Rep Match :: * -> * # Methods from :: Match -> Rep Match x # to :: Rep Match x -> Match #
type Rep Match # |
type Rep Match = D1 (MetaData "Match" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) ((:+:) (C1 (MetaCons "Any" PrefixI False) U1) ((:+:) (C1 (MetaCons "All" PrefixI False) U1) (C1 (MetaCons "None" PrefixI False) U1)))

match :: Match -> [Bool] -> Bool #

data DatePart #

Constructors

DatePart |
Fields dpName :: String dpForm :: String dpRangeDelim :: String dpFormatting :: Formatting

Instances

Eq DatePart # |
Methods (==) :: DatePart -> DatePart -> Bool # (/=) :: DatePart -> DatePart -> Bool #
Data DatePart # |
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 # |
Methods readsPrec :: Int -> ReadS DatePart # readList :: ReadS [DatePart] # readPrec :: ReadPrec DatePart # readListPrec :: ReadPrec [DatePart] #
Show DatePart # |
Methods showsPrec :: Int -> DatePart -> ShowS # show :: DatePart -> String # showList :: [DatePart] -> ShowS #
Generic DatePart # |
Associated Types type Rep DatePart :: * -> * # Methods from :: DatePart -> Rep DatePart x # to :: Rep DatePart x -> DatePart #
type Rep DatePart # |
type Rep DatePart = D1 (MetaData "DatePart" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "DatePart" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "dpName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "dpForm") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) ((:*:) (S1 (MetaSel (Just Symbol "dpRangeDelim") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "dpFormatting") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)))))

defaultDate :: [DatePart] #

data Sort #

Constructors

SortVariable String Sorting |
SortMacro String Sorting Int Int String |

Instances

Eq Sort # |
Methods (==) :: Sort -> Sort -> Bool # (/=) :: Sort -> Sort -> Bool #
Data Sort # |
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 # toConstr :: Sort -> Constr # 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 # |
Methods readsPrec :: Int -> ReadS Sort # readList :: ReadS [Sort] # readPrec :: ReadPrec Sort # readListPrec :: ReadPrec [Sort] #
Show Sort # |
Methods showsPrec :: Int -> Sort -> ShowS # show :: Sort -> String # showList :: [Sort] -> ShowS #
Generic Sort # |
Associated Types type Rep Sort :: * -> * # Methods from :: Sort -> Rep Sort x # to :: Rep Sort x -> Sort #
type Rep Sort # |
type Rep Sort = D1 (MetaData "Sort" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) ((:+:) (C1 (MetaCons "SortVariable" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Sorting)))) (C1 (MetaCons "SortMacro" PrefixI False) ((:*:) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Sorting))) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))))))

data Sorting #

Constructors

Ascending String |
Descending String |

Instances

Eq Sorting # |
Methods (==) :: Sorting -> Sorting -> Bool # (/=) :: Sorting -> Sorting -> Bool #
Data Sorting # |
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 # toConstr :: Sorting -> Constr # 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 # |
Methods compare :: Sorting -> Sorting -> Ordering # (<) :: Sorting -> Sorting -> Bool # (<=) :: Sorting -> Sorting -> Bool # (>) :: Sorting -> Sorting -> Bool # (>=) :: Sorting -> Sorting -> Bool # max :: Sorting -> Sorting -> Sorting # min :: Sorting -> Sorting -> Sorting #
Read Sorting # |
Methods readsPrec :: Int -> ReadS Sorting # readList :: ReadS [Sorting] # readPrec :: ReadPrec Sorting # readListPrec :: ReadPrec [Sorting] #
Show Sorting # |
Methods showsPrec :: Int -> Sorting -> ShowS # show :: Sorting -> String # showList :: [Sorting] -> ShowS #
Generic Sorting # |
Associated Types type Rep Sorting :: * -> * # Methods from :: Sorting -> Rep Sorting x # to :: Rep Sorting x -> Sorting #
type Rep Sorting # |
type Rep Sorting = D1 (MetaData "Sorting" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) ((:+:) (C1 (MetaCons "Ascending" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) (C1 (MetaCons "Descending" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))

compare' :: String -> String -> Ordering #

data Form #

Constructors

Long |
Short |
Count |
Verb |
VerbShort |
Symbol |
NotSet |

Instances

Eq Form # |
Methods (==) :: Form -> Form -> Bool # (/=) :: Form -> Form -> Bool #
Data Form # |
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 # toConstr :: Form -> Constr # 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 # |
Methods readsPrec :: Int -> ReadS Form # readList :: ReadS [Form] # readPrec :: ReadPrec Form # readListPrec :: ReadPrec [Form] #
Show Form # |
Methods showsPrec :: Int -> Form -> ShowS # show :: Form -> String # showList :: [Form] -> ShowS #
Generic Form # |
Associated Types type Rep Form :: * -> * # Methods from :: Form -> Rep Form x # to :: Rep Form x -> Form #
type Rep Form # |
type Rep Form = D1 (MetaData "Form" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) ((:+:) ((:+:) (C1 (MetaCons "Long" PrefixI False) U1) ((:+:) (C1 (MetaCons "Short" PrefixI False) U1) (C1 (MetaCons "Count" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Verb" PrefixI False) U1) (C1 (MetaCons "VerbShort" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Symbol" PrefixI False) U1) (C1 (MetaCons "NotSet" PrefixI False) U1))))

data Gender #

Constructors

Feminine |
Masculine |
Neuter |

Instances

Eq Gender # |
Methods (==) :: Gender -> Gender -> Bool # (/=) :: Gender -> Gender -> Bool #
Data Gender # |
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 # toConstr :: Gender -> Constr # 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 # |
Methods readsPrec :: Int -> ReadS Gender # readList :: ReadS [Gender] # readPrec :: ReadPrec Gender # readListPrec :: ReadPrec [Gender] #
Show Gender # |
Methods showsPrec :: Int -> Gender -> ShowS # show :: Gender -> String # showList :: [Gender] -> ShowS #
Generic Gender # |
Associated Types type Rep Gender :: * -> * # Methods from :: Gender -> Rep Gender x # to :: Rep Gender x -> Gender #
type Rep Gender # |
type Rep Gender = D1 (MetaData "Gender" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) ((:+:) (C1 (MetaCons "Feminine" PrefixI False) U1) ((:+:) (C1 (MetaCons "Masculine" PrefixI False) U1) (C1 (MetaCons "Neuter" PrefixI False) U1)))

data NumericForm #

Constructors

Numeric |
Ordinal |
Roman |
LongOrdinal |

Instances

Eq NumericForm # |
Methods (==) :: NumericForm -> NumericForm -> Bool # (/=) :: NumericForm -> NumericForm -> Bool #
Data NumericForm # |
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 # |
Methods readsPrec :: Int -> ReadS NumericForm # readList :: ReadS [NumericForm] # readPrec :: ReadPrec NumericForm # readListPrec :: ReadPrec [NumericForm] #
Show NumericForm # |
Methods showsPrec :: Int -> NumericForm -> ShowS # show :: NumericForm -> String # showList :: [NumericForm] -> ShowS #
Generic NumericForm # |
Associated Types type Rep NumericForm :: * -> * # Methods from :: NumericForm -> Rep NumericForm x # to :: Rep NumericForm x -> NumericForm #
type Rep NumericForm # |
type Rep NumericForm = D1 (MetaData "NumericForm" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) ((:+:) ((:+:) (C1 (MetaCons "Numeric" PrefixI False) U1) (C1 (MetaCons "Ordinal" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Roman" PrefixI False) U1) (C1 (MetaCons "LongOrdinal" PrefixI False) U1)))

data DateForm #

Constructors

TextDate |
NumericDate |
NoFormDate |

Instances

Eq DateForm # |
Methods (==) :: DateForm -> DateForm -> Bool # (/=) :: DateForm -> DateForm -> Bool #
Data DateForm # |
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 # |
Methods readsPrec :: Int -> ReadS DateForm # readList :: ReadS [DateForm] # readPrec :: ReadPrec DateForm # readListPrec :: ReadPrec [DateForm] #
Show DateForm # |
Methods showsPrec :: Int -> DateForm -> ShowS # show :: DateForm -> String # showList :: [DateForm] -> ShowS #
Generic DateForm # |
Associated Types type Rep DateForm :: * -> * # Methods from :: DateForm -> Rep DateForm x # to :: Rep DateForm x -> DateForm #
type Rep DateForm # |
type Rep DateForm = D1 (MetaData "DateForm" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) ((:+:) (C1 (MetaCons "TextDate" PrefixI False) U1) ((:+:) (C1 (MetaCons "NumericDate" PrefixI False) U1) (C1 (MetaCons "NoFormDate" PrefixI False) U1)))

data Plural #

Constructors

Contextual |
Always |
Never |

Instances

Eq Plural # |
Methods (==) :: Plural -> Plural -> Bool # (/=) :: Plural -> Plural -> Bool #
Data Plural # |
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 # toConstr :: Plural -> Constr # 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 # |
Methods readsPrec :: Int -> ReadS Plural # readList :: ReadS [Plural] # readPrec :: ReadPrec Plural # readListPrec :: ReadPrec [Plural] #
Show Plural # |
Methods showsPrec :: Int -> Plural -> ShowS # show :: Plural -> String # showList :: [Plural] -> ShowS #
Generic Plural # |
Associated Types type Rep Plural :: * -> * # Methods from :: Plural -> Rep Plural x # to :: Rep Plural x -> Plural #
type Rep Plural # |
type Rep Plural = D1 (MetaData "Plural" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) ((:+:) (C1 (MetaCons "Contextual" PrefixI False) U1) ((:+:) (C1 (MetaCons "Always" PrefixI False) U1) (C1 (MetaCons "Never" PrefixI False) U1)))

data Name #

Constructors

Name Form Formatting NameAttrs Delimiter [NamePart] |
NameLabel Form Formatting Plural |
EtAl Formatting String |

Instances

Eq Name # |
Methods (==) :: Name -> Name -> Bool # (/=) :: Name -> Name -> Bool #
Data Name # |
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 # toConstr :: Name -> Constr # 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 # |
Methods readsPrec :: Int -> ReadS Name # readList :: ReadS [Name] # readPrec :: ReadPrec Name # readListPrec :: ReadPrec [Name] #
Show Name # |
Methods showsPrec :: Int -> Name -> ShowS # show :: Name -> String # showList :: [Name] -> ShowS #
Generic Name # |
Associated Types type Rep Name :: * -> * # Methods from :: Name -> Rep Name x # to :: Rep Name x -> Name #
type Rep Name # |
type Rep Name = D1 (MetaData "Name" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) ((:+:) (C1 (MetaCons "Name" PrefixI False) ((:*:) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Form)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 NameAttrs)) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Delimiter)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [NamePart])))))) ((:+:) (C1 (MetaCons "NameLabel" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Form)) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Plural))))) (C1 (MetaCons "EtAl" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))))

type NameAttrs = [(String, String)] #

data NamePart #

Constructors

NamePart String Formatting |

Instances

Eq NamePart # |
Methods (==) :: NamePart -> NamePart -> Bool # (/=) :: NamePart -> NamePart -> Bool #
Data NamePart # |
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 # |
Methods readsPrec :: Int -> ReadS NamePart # readList :: ReadS [NamePart] # readPrec :: ReadPrec NamePart # readListPrec :: ReadPrec [NamePart] #
Show NamePart # |
Methods showsPrec :: Int -> NamePart -> ShowS # show :: NamePart -> String # showList :: [NamePart] -> ShowS #
Generic NamePart # |
Associated Types type Rep NamePart :: * -> * # Methods from :: NamePart -> Rep NamePart x # to :: Rep NamePart x -> NamePart #
type Rep NamePart # |
type Rep NamePart = D1 (MetaData "NamePart" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "NamePart" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))))

isPlural :: Plural -> Int -> Bool #

isName :: Name -> Bool #

isNames :: Element -> Bool #

hasEtAl :: [Name] -> Bool #

data Formatting #

Constructors

Formatting |
Fields 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

Instances

Eq Formatting # |
Methods (==) :: Formatting -> Formatting -> Bool # (/=) :: Formatting -> Formatting -> Bool #
Data Formatting # |
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 # |
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 # |
Methods readsPrec :: Int -> ReadS Formatting # readList :: ReadS [Formatting] # readPrec :: ReadPrec Formatting # readListPrec :: ReadPrec [Formatting] #
Show Formatting # |
Methods showsPrec :: Int -> Formatting -> ShowS # show :: Formatting -> String # showList :: [Formatting] -> ShowS #
Generic Formatting # |
Associated Types type Rep Formatting :: * -> * # Methods from :: Formatting -> Rep Formatting x # to :: Rep Formatting x -> Formatting #
type Rep Formatting # |
type Rep Formatting = D1 (MetaData "Formatting" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "Formatting" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "prefix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) ((:*:) (S1 (MetaSel (Just Symbol "suffix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "fontFamily") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "fontStyle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "fontVariant") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) ((:*:) (S1 (MetaSel (Just Symbol "fontWeight") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "textDecoration") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "verticalAlign") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "textCase") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) ((:*:) (S1 (MetaSel (Just Symbol "display") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "quotes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Quote)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "stripPeriods") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "noCase") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))) ((:*:) (S1 (MetaSel (Just Symbol "noDecor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "hyperlink") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))))))

emptyFormatting :: Formatting #

rmTitleCase :: Formatting -> Formatting #

data Quote #

Constructors

NativeQuote |
ParsedQuote |
NoQuote |

Instances

Eq Quote # |
Methods (==) :: Quote -> Quote -> Bool # (/=) :: Quote -> Quote -> Bool #
Data Quote # |
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 # toConstr :: Quote -> Constr # 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 # |
Methods compare :: Quote -> Quote -> Ordering # (<) :: Quote -> Quote -> Bool # (<=) :: Quote -> Quote -> Bool # (>) :: Quote -> Quote -> Bool # (>=) :: Quote -> Quote -> Bool # max :: Quote -> Quote -> Quote # min :: Quote -> Quote -> Quote #
Read Quote # |
Methods readsPrec :: Int -> ReadS Quote # readList :: ReadS [Quote] # readPrec :: ReadPrec Quote # readListPrec :: ReadPrec [Quote] #
Show Quote # |
Methods showsPrec :: Int -> Quote -> ShowS # show :: Quote -> String # showList :: [Quote] -> ShowS #
Generic Quote # |
Associated Types type Rep Quote :: * -> * # Methods from :: Quote -> Rep Quote x # to :: Rep Quote x -> Quote #
type Rep Quote # |
type Rep Quote = D1 (MetaData "Quote" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) ((:+:) (C1 (MetaCons "NativeQuote" PrefixI False) U1) ((:+:) (C1 (MetaCons "ParsedQuote" PrefixI False) U1) (C1 (MetaCons "NoQuote" PrefixI False) U1)))

mergeFM :: Formatting -> Formatting -> Formatting #

data CSInfo #

Constructors

CSInfo |
Fields csiTitle :: String csiAuthor :: CSAuthor csiCategories :: [CSCategory] csiId :: String csiUpdated :: String

Instances

Data CSInfo # |
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 # toConstr :: CSInfo -> Constr # 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 # |
Methods readsPrec :: Int -> ReadS CSInfo # readList :: ReadS [CSInfo] # readPrec :: ReadPrec CSInfo # readListPrec :: ReadPrec [CSInfo] #
Show CSInfo # |
Methods showsPrec :: Int -> CSInfo -> ShowS # show :: CSInfo -> String # showList :: [CSInfo] -> ShowS #
Generic CSInfo # |
Associated Types type Rep CSInfo :: * -> * # Methods from :: CSInfo -> Rep CSInfo x # to :: Rep CSInfo x -> CSInfo #
type Rep CSInfo # |
type Rep CSInfo = D1 (MetaData "CSInfo" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "CSInfo" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "csiTitle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "csiAuthor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CSAuthor))) ((:*:) (S1 (MetaSel (Just Symbol "csiCategories") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [CSCategory])) ((:*:) (S1 (MetaSel (Just Symbol "csiId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "csiUpdated") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))))

data CSAuthor #

Constructors

CSAuthor String String String |

Instances

Eq CSAuthor # |
Methods (==) :: CSAuthor -> CSAuthor -> Bool # (/=) :: CSAuthor -> CSAuthor -> Bool #
Data CSAuthor # |
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 # |
Methods readsPrec :: Int -> ReadS CSAuthor # readList :: ReadS [CSAuthor] # readPrec :: ReadPrec CSAuthor # readListPrec :: ReadPrec [CSAuthor] #
Show CSAuthor # |
Methods showsPrec :: Int -> CSAuthor -> ShowS # show :: CSAuthor -> String # showList :: [CSAuthor] -> ShowS #
Generic CSAuthor # |
Associated Types type Rep CSAuthor :: * -> * # Methods from :: CSAuthor -> Rep CSAuthor x # to :: Rep CSAuthor x -> CSAuthor #
type Rep CSAuthor # |
type Rep CSAuthor = D1 (MetaData "CSAuthor" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "CSAuthor" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))))

data CSCategory #

Constructors

CSCategory String String String |

Instances

Eq CSCategory # |
Methods (==) :: CSCategory -> CSCategory -> Bool # (/=) :: CSCategory -> CSCategory -> Bool #
Data CSCategory # |
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 # |
Methods readsPrec :: Int -> ReadS CSCategory # readList :: ReadS [CSCategory] # readPrec :: ReadPrec CSCategory # readListPrec :: ReadPrec [CSCategory] #
Show CSCategory # |
Methods showsPrec :: Int -> CSCategory -> ShowS # show :: CSCategory -> String # showList :: [CSCategory] -> ShowS #
Generic CSCategory # |
Associated Types type Rep CSCategory :: * -> * # Methods from :: CSCategory -> Rep CSCategory x # to :: Rep CSCategory x -> CSCategory #
type Rep CSCategory # |
type Rep CSCategory = D1 (MetaData "CSCategory" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "CSCategory" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))))

data CiteprocError #

Constructors

NoOutput |
ReferenceNotFound String |

Instances

Eq CiteprocError # |
Methods (==) :: CiteprocError -> CiteprocError -> Bool # (/=) :: CiteprocError -> CiteprocError -> Bool #
Data CiteprocError # |
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 # |
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 # |
Methods showsPrec :: Int -> CiteprocError -> ShowS # show :: CiteprocError -> String # showList :: [CiteprocError] -> ShowS #
Generic CiteprocError # |
Associated Types type Rep CiteprocError :: * -> * # Methods from :: CiteprocError -> Rep CiteprocError x # to :: Rep CiteprocError x -> CiteprocError #
type Rep CiteprocError # |
type Rep CiteprocError = D1 (MetaData "CiteprocError" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) ((:+:) (C1 (MetaCons "NoOutput" PrefixI False) U1) (C1 (MetaCons "ReferenceNotFound" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))

data Output #

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 `String`
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
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 `Output`

Instances

Eq Output # |
Methods (==) :: Output -> Output -> Bool # (/=) :: Output -> Output -> Bool #
Data Output # |
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 # toConstr :: Output -> Constr # 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 # |
Methods compare :: Output -> Output -> Ordering # (<) :: Output -> Output -> Bool # (<=) :: Output -> Output -> Bool # (>) :: Output -> Output -> Bool # (>=) :: Output -> Output -> Bool # max :: Output -> Output -> Output # min :: Output -> Output -> Output #
Show Output # |
Methods showsPrec :: Int -> Output -> ShowS # show :: Output -> String # showList :: [Output] -> ShowS #
Generic Output # |
Associated Types type Rep Output :: * -> * # Methods from :: Output -> Rep Output x # to :: Rep Output x -> Output #
type Rep Output # |
type Rep Output = D1 (MetaData "Output" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "ONull" PrefixI False) U1) (C1 (MetaCons "OSpace" PrefixI False) U1)) ((:+:) (C1 (MetaCons "OPan" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Inline]))) (C1 (MetaCons "ODel" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))) ((:+:) ((:+:) (C1 (MetaCons "OStr" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)))) (C1 (MetaCons "OErr" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CiteprocError)))) ((:+:) (C1 (MetaCons "OLabel" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)))) (C1 (MetaCons "ONum" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))))))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "OCitNum" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)))) (C1 (MetaCons "ODate" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output])))) ((:+:) (C1 (MetaCons "OYear" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))))) (C1 (MetaCons "OYearSuf" PrefixI False) ((:*:) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output])) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))))))) ((:+:) ((:+:) (C1 (MetaCons "OName" PrefixI False) ((:*:) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Agent)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output]))) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [[Output]])) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))))) (C1 (MetaCons "OContrib" PrefixI False) ((:*:) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output])) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output])) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [[Output]]))))))) ((:+:) (C1 (MetaCons "OLoc" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output])) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting)))) (C1 (MetaCons "Output" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output])) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))))))))

type Citations = [[Cite]] #

data Cite #

Constructors

Cite |
Fields citeId :: String citePrefix :: Formatted citeSuffix :: Formatted citeLabel :: String citeLocator :: String citeNoteNumber :: String citePosition :: String nearNote :: Bool authorInText :: Bool suppressAuthor :: Bool citeHash :: Int

Instances

Eq Cite # |
Methods (==) :: Cite -> Cite -> Bool # (/=) :: Cite -> Cite -> Bool #
Data Cite # |
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 # toConstr :: Cite -> Constr # 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 # |
Methods showsPrec :: Int -> Cite -> ShowS # show :: Cite -> String # showList :: [Cite] -> ShowS #
Generic Cite # |
Associated Types type Rep Cite :: * -> * # Methods from :: Cite -> Rep Cite x # to :: Rep Cite x -> Cite #
FromJSON Cite # |
Methods parseJSON :: Value -> Parser Cite # parseJSONList :: Value -> Parser [Cite] #
FromJSON [[Cite]] # |
Methods parseJSON :: Value -> Parser [[Cite]] # parseJSONList :: Value -> Parser [[[Cite]]] #
type Rep Cite # |
type Rep Cite = D1 (MetaData "Cite" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "Cite" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "citeId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "citePrefix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted))) ((:*:) (S1 (MetaSel (Just Symbol "citeSuffix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)) ((:*:) (S1 (MetaSel (Just Symbol "citeLabel") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "citeLocator") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "citeNoteNumber") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) ((:*:) (S1 (MetaSel (Just Symbol "citePosition") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "nearNote") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "authorInText") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) ((:*:) (S1 (MetaSel (Just Symbol "suppressAuthor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "citeHash") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))))))

emptyCite :: Cite #

data CitationGroup #

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.

Constructors

CG [(Cite, Output)] Formatting Delimiter [(Cite, Output)] |

Instances

Eq CitationGroup # |
Methods (==) :: CitationGroup -> CitationGroup -> Bool # (/=) :: CitationGroup -> CitationGroup -> Bool #
Data CitationGroup # |
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 # |
Methods showsPrec :: Int -> CitationGroup -> ShowS # show :: CitationGroup -> String # showList :: [CitationGroup] -> ShowS #
Generic CitationGroup # |
Associated Types type Rep CitationGroup :: * -> * # Methods from :: CitationGroup -> Rep CitationGroup x # to :: Rep CitationGroup x -> CitationGroup #
type Rep CitationGroup # |
type Rep CitationGroup = D1 (MetaData "CitationGroup" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "CG" PrefixI False) ((:*:) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [(Cite, Output)])) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatting))) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Delimiter)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [(Cite, Output)])))))

data BiblioData #

Constructors

BD |
Fields citations :: [Formatted] bibliography :: [Formatted] citationIds :: [String]

Instances

Data BiblioData # |
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 # |
Methods showsPrec :: Int -> BiblioData -> ShowS # show :: BiblioData -> String # showList :: [BiblioData] -> ShowS #
Generic BiblioData # |
Associated Types type Rep BiblioData :: * -> * # Methods from :: BiblioData -> Rep BiblioData x # to :: Rep BiblioData x -> BiblioData #
type Rep BiblioData # |
type Rep BiblioData = D1 (MetaData "BiblioData" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "BD" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "citations") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Formatted])) ((:*:) (S1 (MetaSel (Just Symbol "bibliography") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Formatted])) (S1 (MetaSel (Just Symbol "citationIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String])))))

data CiteData #

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 |
Fields key :: String collision :: [Output] disambYS :: [Output] disambData :: [[Output]] disambed :: [Output] sameAs :: [String] citYear :: String

Instances

Eq CiteData # |
Methods (==) :: CiteData -> CiteData -> Bool # (/=) :: CiteData -> CiteData -> Bool #
Data CiteData # |
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 # |
Methods showsPrec :: Int -> CiteData -> ShowS # show :: CiteData -> String # showList :: [CiteData] -> ShowS #
Generic CiteData # |
Associated Types type Rep CiteData :: * -> * # Methods from :: CiteData -> Rep CiteData x # to :: Rep CiteData x -> CiteData #
type Rep CiteData # |
type Rep CiteData = D1 (MetaData "CiteData" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "CD" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "key") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) ((:*:) (S1 (MetaSel (Just Symbol "collision") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output])) (S1 (MetaSel (Just Symbol "disambYS") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output])))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "disambData") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [[Output]])) (S1 (MetaSel (Just Symbol "disambed") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output]))) ((:*:) (S1 (MetaSel (Just Symbol "sameAs") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String])) (S1 (MetaSel (Just Symbol "citYear") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))))

data NameData #

Constructors

ND |
Fields nameKey :: Agent nameCollision :: [Output] nameDisambData :: [[Output]] nameDataSolved :: [Output]

Instances

Eq NameData # |
Methods (==) :: NameData -> NameData -> Bool # (/=) :: NameData -> NameData -> Bool #
Data NameData # |
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 # |
Methods showsPrec :: Int -> NameData -> ShowS # show :: NameData -> String # showList :: [NameData] -> ShowS #
Generic NameData # |
Associated Types type Rep NameData :: * -> * # Methods from :: NameData -> Rep NameData x # to :: Rep NameData x -> NameData #
type Rep NameData # |
type Rep NameData = D1 (MetaData "NameData" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "ND" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "nameKey") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Agent)) (S1 (MetaSel (Just Symbol "nameCollision") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output]))) ((:*:) (S1 (MetaSel (Just Symbol "nameDisambData") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [[Output]])) (S1 (MetaSel (Just Symbol "nameDataSolved") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Output])))))

isPunctuationInQuote :: Style -> Bool #

object' :: [Pair] -> Value #

data Agent #

Constructors

Agent |
Fields givenName :: [Formatted] droppingPart :: Formatted nonDroppingPart :: Formatted familyName :: Formatted nameSuffix :: Formatted literal :: Formatted commaSuffix :: Bool parseNames :: Bool

Instances

Eq Agent # |
Methods (==) :: Agent -> Agent -> Bool # (/=) :: Agent -> Agent -> Bool #
Data Agent # |
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 # toConstr :: Agent -> Constr # 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 # |
Methods compare :: Agent -> Agent -> Ordering # (<) :: Agent -> Agent -> Bool # (<=) :: Agent -> Agent -> Bool # (>) :: Agent -> Agent -> Bool # (>=) :: Agent -> Agent -> Bool # max :: Agent -> Agent -> Agent # min :: Agent -> Agent -> Agent #
Read Agent # |
Methods readsPrec :: Int -> ReadS Agent # readList :: ReadS [Agent] # readPrec :: ReadPrec Agent # readListPrec :: ReadPrec [Agent] #
Show Agent # |
Methods showsPrec :: Int -> Agent -> ShowS # show :: Agent -> String # showList :: [Agent] -> ShowS #
Generic Agent # |
Associated Types type Rep Agent :: * -> * # Methods from :: Agent -> Rep Agent x # to :: Rep Agent x -> Agent #
FromJSON Agent # |
Methods parseJSON :: Value -> Parser Agent # parseJSONList :: Value -> Parser [Agent] #
ToJSON Agent # |
Methods toJSON :: Agent -> Value # toEncoding :: Agent -> Encoding # toJSONList :: [Agent] -> Value # toEncodingList :: [Agent] -> Encoding #
ToYaml Agent # |
Methods toYaml :: Agent -> YamlBuilder #
FromJSON [Agent] # |
Methods parseJSON :: Value -> Parser [Agent] # parseJSONList :: Value -> Parser [[Agent]] #
type Rep Agent # |
type Rep Agent = D1 (MetaData "Agent" "Text.CSL.Style" "pandoc-citeproc-0.10.4.1-4tY6UNesbbrBr2Tg5LQ6mM" False) (C1 (MetaCons "Agent" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "givenName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Formatted])) (S1 (MetaSel (Just Symbol "droppingPart") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted))) ((:*:) (S1 (MetaSel (Just Symbol "nonDroppingPart") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)) (S1 (MetaSel (Just Symbol "familyName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "nameSuffix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)) (S1 (MetaSel (Just Symbol "literal") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted))) ((:*:) (S1 (MetaSel (Just Symbol "commaSuffix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "parseNames") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))))))

emptyAgent :: Agent #