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.Reference
Description
The Reference type
Synopsis
- newtype Literal = Literal {
- unLiteral :: String
- data Value = Data a => Value a
- type ReferenceMap = [(String, Value)]
- mkRefMap :: Maybe Reference -> ReferenceMap
- fromValue :: Data a => Value -> Maybe a
- isValueSet :: Value -> Bool
- data Empty = Empty
- data Season
- seasonToInt :: Season -> Maybe Int
- data RefDate = RefDate {}
- handleLiteral :: RefDate -> [RefDate]
- toDatePart :: RefDate -> [Int]
- setCirca :: Bool -> RefDate -> RefDate
- data RefType
- = NoType
- | Article
- | ArticleMagazine
- | ArticleNewspaper
- | ArticleJournal
- | Bill
- | Book
- | Broadcast
- | Chapter
- | Dataset
- | Entry
- | EntryDictionary
- | EntryEncyclopedia
- | Figure
- | Graphic
- | Interview
- | Legislation
- | LegalCase
- | Manuscript
- | Map
- | MotionPicture
- | MusicalScore
- | Pamphlet
- | PaperConference
- | Patent
- | Post
- | PostWeblog
- | PersonalCommunication
- | Report
- | Review
- | ReviewBook
- | Song
- | Speech
- | Thesis
- | Treaty
- | Webpage
- newtype CNum = CNum {
- unCNum :: Int
- newtype CLabel = CLabel {
- unCLabel :: String
- data Reference = Reference {
- refId :: Literal
- refOtherIds :: [Literal]
- refType :: RefType
- author :: [Agent]
- editor :: [Agent]
- translator :: [Agent]
- recipient :: [Agent]
- interviewer :: [Agent]
- composer :: [Agent]
- director :: [Agent]
- illustrator :: [Agent]
- originalAuthor :: [Agent]
- containerAuthor :: [Agent]
- collectionEditor :: [Agent]
- editorialDirector :: [Agent]
- reviewedAuthor :: [Agent]
- issued :: [RefDate]
- eventDate :: [RefDate]
- accessed :: [RefDate]
- container :: [RefDate]
- originalDate :: [RefDate]
- submitted :: [RefDate]
- title :: Formatted
- titleShort :: Formatted
- reviewedTitle :: Formatted
- containerTitle :: Formatted
- volumeTitle :: Formatted
- collectionTitle :: Formatted
- containerTitleShort :: Formatted
- collectionNumber :: Formatted
- originalTitle :: Formatted
- publisher :: Formatted
- originalPublisher :: Formatted
- publisherPlace :: Formatted
- originalPublisherPlace :: Formatted
- authority :: Formatted
- jurisdiction :: Formatted
- archive :: Formatted
- archivePlace :: Formatted
- archiveLocation :: Formatted
- event :: Formatted
- eventPlace :: Formatted
- page :: Formatted
- pageFirst :: Formatted
- numberOfPages :: Formatted
- version :: Formatted
- volume :: Formatted
- numberOfVolumes :: Formatted
- issue :: Formatted
- chapterNumber :: Formatted
- medium :: Formatted
- status :: Formatted
- edition :: Formatted
- section :: Formatted
- source :: Formatted
- genre :: Formatted
- note :: Formatted
- annote :: Formatted
- abstract :: Formatted
- keyword :: Formatted
- number :: Formatted
- references :: Formatted
- url :: Literal
- doi :: Literal
- isbn :: Literal
- issn :: Literal
- pmcid :: Literal
- pmid :: Literal
- callNumber :: Literal
- dimensions :: Literal
- scale :: Literal
- categories :: [Literal]
- language :: Literal
- citationNumber :: CNum
- firstReferenceNoteNumber :: Int
- citationLabel :: CLabel
- emptyReference :: Reference
- numericVars :: [String]
- getReference :: [Reference] -> Cite -> Maybe Reference
- processCites :: [Reference] -> [[Cite]] -> [[(Cite, Maybe Reference)]]
- setPageFirst :: Reference -> Reference
- setNearNote :: Style -> [[Cite]] -> [[Cite]]
- parseEDTFDate :: String -> [RefDate]
Documentation
Instances
Eq Literal Source # | |
Data Literal Source # | |
Defined in Text.CSL.Reference Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Literal -> c Literal gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Literal dataTypeOf :: Literal -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Literal) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Literal) gmapT :: (forall b. Data b => b -> b) -> Literal -> Literal gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Literal -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Literal -> r gmapQ :: (forall d. Data d => d -> u) -> Literal -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Literal -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Literal -> m Literal gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Literal -> m Literal gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Literal -> m Literal | |
Read Literal Source # | |
Defined in Text.CSL.Reference | |
Show Literal Source # | |
IsString Literal Source # | |
Defined in Text.CSL.Reference Methods fromString :: String -> Literal | |
Generic Literal Source # | |
Semigroup Literal Source # | |
Monoid Literal Source # | |
FromJSON Literal Source # | |
Defined in Text.CSL.Reference | |
ToJSON Literal Source # | |
Defined in Text.CSL.Reference Methods toEncoding :: Literal -> Encoding toJSONList :: [Literal] -> Value toEncodingList :: [Literal] -> Encoding | |
ToYaml Literal Source # | |
Defined in Text.CSL.Reference | |
type Rep Literal Source # | |
Defined in Text.CSL.Reference type Rep Literal = D1 (MetaData "Literal" "Text.CSL.Reference" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" True) (C1 (MetaCons "Literal" PrefixI True) (S1 (MetaSel (Just "unLiteral") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) |
An existential type to wrap the different types a Reference
is
made of. This way we can create a map to make queries easier.
Constructors
Data a => Value a |
type ReferenceMap = [(String, Value)] Source #
mkRefMap :: Maybe Reference -> ReferenceMap Source #
isValueSet :: Value -> Bool Source #
Constructors
Empty |
Instances
Data Empty Source # | |
Defined in Text.CSL.Reference Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty dataTypeOf :: Empty -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty | |
Generic Empty Source # | |
type Rep Empty Source # | |
Defined in Text.CSL.Reference type Rep Empty = D1 (MetaData "Empty" "Text.CSL.Reference" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "Empty" PrefixI False) (U1 :: Type -> Type)) |
Instances
Eq Season Source # | |
Data Season Source # | |
Defined in Text.CSL.Reference Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Season -> c Season gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Season dataTypeOf :: Season -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Season) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Season) gmapT :: (forall b. Data b => b -> b) -> Season -> Season gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Season -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Season -> r gmapQ :: (forall d. Data d => d -> u) -> Season -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Season -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Season -> m Season gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Season -> m Season gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Season -> m Season | |
Read Season Source # | |
Defined in Text.CSL.Reference | |
Show Season Source # | |
Generic Season Source # | |
ToYaml Season Source # | |
Defined in Text.CSL.Reference | |
type Rep Season Source # | |
Defined in Text.CSL.Reference type Rep Season = D1 (MetaData "Season" "Text.CSL.Reference" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) ((C1 (MetaCons "Spring" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Summer" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Autumn" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Winter" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "RawSeason" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))) |
seasonToInt :: Season -> Maybe Int Source #
Constructors
RefDate | |
Instances
Eq RefDate Source # | |
Data RefDate Source # | |
Defined in Text.CSL.Reference Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RefDate -> c RefDate gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RefDate dataTypeOf :: RefDate -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RefDate) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RefDate) gmapT :: (forall b. Data b => b -> b) -> RefDate -> RefDate gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RefDate -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RefDate -> r gmapQ :: (forall d. Data d => d -> u) -> RefDate -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> RefDate -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> RefDate -> m RefDate gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RefDate -> m RefDate gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RefDate -> m RefDate | |
Read RefDate Source # | |
Defined in Text.CSL.Reference | |
Show RefDate Source # | |
Generic RefDate Source # | |
FromJSON RefDate Source # | |
Defined in Text.CSL.Reference | |
ToYaml RefDate Source # | |
Defined in Text.CSL.Reference | |
FromJSON [RefDate] Source # | |
Defined in Text.CSL.Reference | |
ToJSON [RefDate] Source # | |
Defined in Text.CSL.Reference Methods toEncoding :: [RefDate] -> Encoding toJSONList :: [[RefDate]] -> Value toEncodingList :: [[RefDate]] -> Encoding | |
type Rep RefDate Source # | |
Defined in Text.CSL.Reference type Rep RefDate = D1 (MetaData "RefDate" "Text.CSL.Reference" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "RefDate" PrefixI True) ((S1 (MetaSel (Just "year") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "month") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "season") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Season)))) :*: (S1 (MetaSel (Just "day") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "other") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Literal) :*: S1 (MetaSel (Just "circa") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))))) |
handleLiteral :: RefDate -> [RefDate] Source #
toDatePart :: RefDate -> [Int] Source #
Constructors
Instances
Eq RefType Source # | |
Data RefType Source # | |
Defined in Text.CSL.Reference Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RefType -> c RefType gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RefType dataTypeOf :: RefType -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RefType) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RefType) gmapT :: (forall b. Data b => b -> b) -> RefType -> RefType gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RefType -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RefType -> r gmapQ :: (forall d. Data d => d -> u) -> RefType -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> RefType -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> RefType -> m RefType gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RefType -> m RefType gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RefType -> m RefType | |
Read RefType Source # | |
Defined in Text.CSL.Reference | |
Show RefType Source # | |
Generic RefType Source # | |
FromJSON RefType Source # | |
Defined in Text.CSL.Reference | |
ToJSON RefType Source # | |
Defined in Text.CSL.Reference Methods toEncoding :: RefType -> Encoding toJSONList :: [RefType] -> Value toEncodingList :: [RefType] -> Encoding | |
ToYaml RefType Source # | |
Defined in Text.CSL.Reference | |
type Rep RefType Source # | |
Defined in Text.CSL.Reference type Rep RefType = D1 (MetaData "RefType" "Text.CSL.Reference" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (((((C1 (MetaCons "NoType" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Article" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "ArticleMagazine" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ArticleNewspaper" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "ArticleJournal" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Bill" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Book" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Broadcast" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Chapter" PrefixI False) (U1 :: Type -> Type))))) :+: (((C1 (MetaCons "Dataset" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Entry" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "EntryDictionary" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "EntryEncyclopedia" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Figure" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Graphic" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Interview" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Legislation" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LegalCase" PrefixI False) (U1 :: Type -> Type)))))) :+: ((((C1 (MetaCons "Manuscript" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Map" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "MotionPicture" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "MusicalScore" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Pamphlet" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PaperConference" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Patent" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Post" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PostWeblog" PrefixI False) (U1 :: Type -> Type))))) :+: (((C1 (MetaCons "PersonalCommunication" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Report" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Review" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ReviewBook" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Song" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Speech" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Thesis" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Treaty" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Webpage" PrefixI False) (U1 :: Type -> Type))))))) |
Instances
Eq CNum Source # | |
Data CNum Source # | |
Defined in Text.CSL.Reference Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CNum -> c CNum gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CNum dataTypeOf :: CNum -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CNum) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CNum) gmapT :: (forall b. Data b => b -> b) -> CNum -> CNum gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CNum -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CNum -> r gmapQ :: (forall d. Data d => d -> u) -> CNum -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CNum -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CNum -> m CNum gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CNum -> m CNum gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CNum -> m CNum | |
Num CNum Source # | |
Read CNum Source # | |
Defined in Text.CSL.Reference | |
Show CNum Source # | |
Generic CNum Source # | |
FromJSON CNum Source # | |
Defined in Text.CSL.Reference | |
ToJSON CNum Source # | |
Defined in Text.CSL.Reference Methods toEncoding :: CNum -> Encoding toJSONList :: [CNum] -> Value toEncodingList :: [CNum] -> Encoding | |
ToYaml CNum Source # | |
Defined in Text.CSL.Reference | |
type Rep CNum Source # | |
Defined in Text.CSL.Reference type Rep CNum = D1 (MetaData "CNum" "Text.CSL.Reference" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" True) (C1 (MetaCons "CNum" PrefixI True) (S1 (MetaSel (Just "unCNum") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int))) |
Instances
Eq CLabel Source # | |
Data CLabel Source # | |
Defined in Text.CSL.Reference Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CLabel -> c CLabel gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CLabel dataTypeOf :: CLabel -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CLabel) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CLabel) gmapT :: (forall b. Data b => b -> b) -> CLabel -> CLabel gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CLabel -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CLabel -> r gmapQ :: (forall d. Data d => d -> u) -> CLabel -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CLabel -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CLabel -> m CLabel gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CLabel -> m CLabel gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CLabel -> m CLabel | |
Read CLabel Source # | |
Defined in Text.CSL.Reference | |
Show CLabel Source # | |
Generic CLabel Source # | |
Semigroup CLabel Source # | |
Monoid CLabel Source # | |
FromJSON CLabel Source # | |
Defined in Text.CSL.Reference | |
ToJSON CLabel Source # | |
Defined in Text.CSL.Reference Methods toEncoding :: CLabel -> Encoding toJSONList :: [CLabel] -> Value toEncodingList :: [CLabel] -> Encoding | |
ToYaml CLabel Source # | |
Defined in Text.CSL.Reference | |
type Rep CLabel Source # | |
Defined in Text.CSL.Reference type Rep CLabel = D1 (MetaData "CLabel" "Text.CSL.Reference" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" True) (C1 (MetaCons "CLabel" PrefixI True) (S1 (MetaSel (Just "unCLabel") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) |
The Reference
record.
Constructors
Instances
Eq Reference Source # | |
Data Reference Source # | |
Defined in Text.CSL.Reference Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Reference -> c Reference gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Reference toConstr :: Reference -> Constr dataTypeOf :: Reference -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Reference) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Reference) gmapT :: (forall b. Data b => b -> b) -> Reference -> Reference gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Reference -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Reference -> r gmapQ :: (forall d. Data d => d -> u) -> Reference -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Reference -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Reference -> m Reference gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Reference -> m Reference gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Reference -> m Reference | |
Read Reference Source # | |
Defined in Text.CSL.Reference | |
Show Reference Source # | |
Generic Reference Source # | |
FromJSON Reference Source # | |
Defined in Text.CSL.Reference | |
ToJSON Reference Source # | |
Defined in Text.CSL.Reference Methods toEncoding :: Reference -> Encoding toJSONList :: [Reference] -> Value toEncodingList :: [Reference] -> Encoding | |
ToYaml Reference Source # | |
Defined in Text.CSL.Reference | |
type Rep Reference Source # | |
Defined in Text.CSL.Reference type Rep Reference = D1 (MetaData "Reference" "Text.CSL.Reference" "pandoc-citeproc-0.15.0.1-Ay4fJCH39OXLmcUPrGEKai" False) (C1 (MetaCons "Reference" PrefixI True) ((((((S1 (MetaSel (Just "refId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Literal) :*: S1 (MetaSel (Just "refOtherIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Literal])) :*: (S1 (MetaSel (Just "refType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 RefType) :*: S1 (MetaSel (Just "author") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Agent]))) :*: ((S1 (MetaSel (Just "editor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Agent]) :*: S1 (MetaSel (Just "translator") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Agent])) :*: (S1 (MetaSel (Just "recipient") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Agent]) :*: (S1 (MetaSel (Just "interviewer") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Agent]) :*: S1 (MetaSel (Just "composer") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Agent]))))) :*: (((S1 (MetaSel (Just "director") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Agent]) :*: S1 (MetaSel (Just "illustrator") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Agent])) :*: (S1 (MetaSel (Just "originalAuthor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Agent]) :*: (S1 (MetaSel (Just "containerAuthor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Agent]) :*: S1 (MetaSel (Just "collectionEditor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Agent])))) :*: ((S1 (MetaSel (Just "editorialDirector") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Agent]) :*: S1 (MetaSel (Just "reviewedAuthor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Agent])) :*: (S1 (MetaSel (Just "issued") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [RefDate]) :*: (S1 (MetaSel (Just "eventDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [RefDate]) :*: S1 (MetaSel (Just "accessed") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [RefDate])))))) :*: ((((S1 (MetaSel (Just "container") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [RefDate]) :*: S1 (MetaSel (Just "originalDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [RefDate])) :*: (S1 (MetaSel (Just "submitted") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [RefDate]) :*: S1 (MetaSel (Just "title") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted))) :*: ((S1 (MetaSel (Just "titleShort") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "reviewedTitle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)) :*: (S1 (MetaSel (Just "containerTitle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: (S1 (MetaSel (Just "volumeTitle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "collectionTitle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted))))) :*: (((S1 (MetaSel (Just "containerTitleShort") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "collectionNumber") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)) :*: (S1 (MetaSel (Just "originalTitle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: (S1 (MetaSel (Just "publisher") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "originalPublisher") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)))) :*: ((S1 (MetaSel (Just "publisherPlace") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "originalPublisherPlace") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)) :*: (S1 (MetaSel (Just "authority") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: (S1 (MetaSel (Just "jurisdiction") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "archive") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted))))))) :*: (((((S1 (MetaSel (Just "archivePlace") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "archiveLocation") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)) :*: (S1 (MetaSel (Just "event") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "eventPlace") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted))) :*: ((S1 (MetaSel (Just "page") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "pageFirst") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)) :*: (S1 (MetaSel (Just "numberOfPages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: (S1 (MetaSel (Just "version") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "volume") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted))))) :*: (((S1 (MetaSel (Just "numberOfVolumes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "issue") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)) :*: (S1 (MetaSel (Just "chapterNumber") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: (S1 (MetaSel (Just "medium") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "status") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)))) :*: ((S1 (MetaSel (Just "edition") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "section") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)) :*: (S1 (MetaSel (Just "source") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: (S1 (MetaSel (Just "genre") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "note") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)))))) :*: ((((S1 (MetaSel (Just "annote") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "abstract") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted)) :*: (S1 (MetaSel (Just "keyword") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "number") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted))) :*: ((S1 (MetaSel (Just "references") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Formatted) :*: S1 (MetaSel (Just "url") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Literal)) :*: (S1 (MetaSel (Just "doi") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Literal) :*: (S1 (MetaSel (Just "isbn") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Literal) :*: S1 (MetaSel (Just "issn") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Literal))))) :*: (((S1 (MetaSel (Just "pmcid") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Literal) :*: S1 (MetaSel (Just "pmid") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Literal)) :*: (S1 (MetaSel (Just "callNumber") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Literal) :*: (S1 (MetaSel (Just "dimensions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Literal) :*: S1 (MetaSel (Just "scale") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Literal)))) :*: ((S1 (MetaSel (Just "categories") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Literal]) :*: S1 (MetaSel (Just "language") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Literal)) :*: (S1 (MetaSel (Just "citationNumber") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CNum) :*: (S1 (MetaSel (Just "firstReferenceNoteNumber") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "citationLabel") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CLabel))))))))) |
numericVars :: [String] Source #
setPageFirst :: Reference -> Reference Source #
parseEDTFDate :: String -> [RefDate] Source #