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

Portabilityunportable
Stabilityunstable
MaintainerAndrea Rossato <andrea.rossato@unitn.it>

Text.CSL.Input.MODS

Description

An ugly MODS parser

Synopsis

Documentation

readModsFile :: FilePath -> IO Reference

Read a file with a single MODS record.

readModsCollectionFile :: FilePath -> IO [Reference]

Read a file with a collection of MODS records.

xpCiteKey :: PU String

xpOrigin :: PU ([RefDate], [Agent], String)

xpGenre :: PU [String]

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

Constructors

Date [RefDate] 
Page String 
Volume String 
Issue String 
Number String 
ChapterNr String 
Section String 

Instances

Eq Detail 
Show Detail 

xpPage :: PU String

xpUrl :: PU ([RefDate], String)

readDate :: String -> [RefDate]