citeproc-hs-0.3.10: A Citation Style Language implementation in Haskell

Copyright(c) Andrea Rossato
LicenseBSD-style (see LICENSE)
MaintainerAndrea Rossato <andrea.rossato@unitn.it>
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell98

Text.CSL.Input.MODS

Description

An ugly MODS parser

Synopsis

Documentation

readModsFile :: FilePath -> IO Reference Source

Read a file with a single MODS record.

readModsCollectionFile :: FilePath -> IO [Reference] Source

Read a file with a collection of MODS records.

xpAgents :: PU (([Agent], [Agent], [Agent], [Agent]), ([Agent], [Agent], [Agent], [Agent]), ([Agent], [Agent], [Agent], [Agent])) Source

parseName :: [String] -> String -> Agent Source

"von Hicks,! Jr., Michael" or "la Martine,! III, Martin B. de" or "Rossato, Jr., Andrea G. B." or "Paul, III, Juan".

parseDate :: String -> [RefDate] Source

Possible formats: YYYY, YYYY-MM, YYYY-MM-DD.