| citeproc-hs-0.2: A Citation Style Language implementation in Haskell | Source code | Contents | Index
Text.CSL.Input.MODS |
Portability | unportable
Stability | unstable
Maintainer | Andrea 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 Reference | Source
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 Reference | Source
xpReference :: PU Reference | Source
xpCiteKey :: PU String | Source
xpOrigin :: PU ([RefDate], [Agent], String) | Source
xpRefType :: PU RefType | Source
xpRefType' :: PU RefType | Source
xpGenre :: PU String | Source
xpRelatedItem :: PU Reference | Source
xpTitle :: PU String | Source
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 |
Instances
Eq Detail
Show Detail
xpDetail :: PU Detail | Source
xpPage :: PU String | Source
xpUrl :: PU ([RefDate], String) | Source
readDate :: String -> [RefDate] | Source
betterThen :: Eq a => [a] -> [a] -> [a] | Source
Produced by Haddock version 2.4.2