Portability | unportable |
---|---|
Stability | unstable |
Maintainer | Andrea Rossato <andrea.rossato@unitn.it> |
Safe Haskell | Safe-Infered |
An ugly MODS parser
- readModsFile :: FilePath -> IO Reference
- readModsCollectionFile :: FilePath -> IO [Reference]
- xpModsCollection :: PU [Reference]
- xpMods :: PU Reference
- xpReference :: PU Reference
- xpCiteKey :: PU String
- xpOrigin :: PU ([RefDate], [RefDate], [Agent], String)
- 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]
- parseName :: [String] -> String -> Agent
- xpNameData :: PU ([String], String)
- xpPart :: PU (([RefDate], String, String, String), (String, String, String))
- data Detail
- xpDetail :: PU Detail
- xpPage :: PU String
- xpUrl :: PU ([RefDate], String)
- xpIsbn :: PU String
- xpDoi :: PU String
- xpIdentifier :: String -> PU String
- xpNote :: PU String
- readDate :: String -> [RefDate]
- parseDate :: String -> [RefDate]
- emptyAgents :: [Agent]
- readRefType :: [String] -> RefType
- genreTypeMapping :: Map String RefType
Documentation
readModsFile :: FilePath -> IO ReferenceSource
Read a file with a single MODS record.
readModsCollectionFile :: FilePath -> IO [Reference]Source
Read a file with a collection of MODS records.
xpNameData :: PU ([String], String)Source
xpIdentifier :: String -> PU StringSource
emptyAgents :: [Agent]Source
readRefType :: [String] -> RefTypeSource