citeproc-hs-0.2: A Citation Style Language implementation in HaskellSource codeContentsIndex
Text.CSL.Input.MODS
Portabilityunportable
Stabilityunstable
MaintainerAndrea Rossato <andrea.rossato@unitn.it>
Description
An ugly MODS parser
Synopsis
readModsFile :: FilePath -> IO Reference
readModsColletionFile :: FilePath -> IO [Reference]
xpModsCollection :: PU [Reference]
xpMods :: PU Reference
xpReference :: PU Reference
xpCiteKey :: PU String
xpOrigin :: PU ([RefDate], [Agent], String)
xpRefType :: PU RefType
xpRefType' :: PU RefType
xpGenre :: PU String
xpRelatedItem :: PU Reference
xpTitle :: PU String
xpAgents :: PU (([Agent], [Agent], [Agent]), ([Agent], [Agent], [Agent]), ([Agent], [Agent]))
xpAgent :: String -> String -> PU [Agent]
xpNameData :: PU ([String], String)
xpPart :: PU (([RefDate], String, String, String), (String, String, String))
data Detail
= Date [RefDate]
| Page String
| Volume String
| Issue String
| Number String
| ChapterNr String
| Section String
xpDetail :: PU Detail
xpPage :: PU String
xpUrl :: PU ([RefDate], String)
readDate :: String -> [RefDate]
betterThen :: Eq a => [a] -> [a] -> [a]
Documentation
readModsFile :: FilePath -> IO ReferenceSource
Read a file with a single MODS record.
readModsColletionFile :: FilePath -> IO [Reference]Source
Read a file with a collection of MODS records.
xpModsCollection :: PU [Reference]Source
xpMods :: PU ReferenceSource
xpReference :: PU ReferenceSource
xpCiteKey :: PU StringSource
xpOrigin :: PU ([RefDate], [Agent], String)Source
xpRefType :: PU RefTypeSource
xpRefType' :: PU RefTypeSource
xpGenre :: PU StringSource
xpRelatedItem :: PU ReferenceSource
xpTitle :: PU StringSource
xpAgents :: PU (([Agent], [Agent], [Agent]), ([Agent], [Agent], [Agent]), ([Agent], [Agent]))Source
xpAgent :: String -> String -> PU [Agent]Source
xpNameData :: PU ([String], String)Source
xpPart :: PU (([RefDate], String, String, String), (String, String, String))Source
data Detail Source
Constructors
Date [RefDate]
Page String
Volume String
Issue String
Number String
ChapterNr String
Section String
show/hide Instances
xpDetail :: PU DetailSource
xpPage :: PU StringSource
xpUrl :: PU ([RefDate], String)Source
readDate :: String -> [RefDate]Source
betterThen :: Eq a => [a] -> [a] -> [a]Source
Produced by Haddock version 2.4.2