|
Text.CSL.Reference | Portability | unportable | Stability | unstable | Maintainer | Andrea Rossato <andrea.rossato@unitn.it> |
|
|
|
Description |
The Reference type
|
|
Synopsis |
|
data Value = forall a . Data a => Value a | | type ReferenceMap = [(String, Value)] | | mkRefMap :: Data a => a -> ReferenceMap | | formatField :: String -> String | | fromValue :: Data a => Value -> Maybe a | | isValueSet :: Value -> Bool | | data Empty = Empty | | | | data RefDate = RefDate {} | | | | newtype CNum = CNum {} | | data Reference = Reference {} | | emptyReference :: Reference | | getReference :: [Reference] -> (String, String) -> Reference | | getReference' :: [Reference] -> ((String, String), (String, Int)) -> (String, Reference) | | | | locString :: Locator -> String | | parseLocator :: String -> Locator | | generatePosition :: [[(String, String)]] -> [[((String, String), (String, Int))]] | | getPos :: Eq a => ([a], [a]) -> [[(a, String)]] -> [[((a, String), (String, Int))]] |
|
|
Documentation |
|
|
An existential type to wrap the different types a Reference is
made of. This way we can create a map to make queries easier.
| Constructors | forall a . Data a => Value a | |
| Instances | |
|
|
|
|
|
|
|
|
|
|
|
|
|
Constructors | | Instances | |
|
|
|
Constructors | | Instances | |
|
|
|
Constructors | | Instances | |
|
|
|
Constructors | NoType | | Article | | ArticleMagazine | | ArticleNewspaper | | ArticleJournal | | Bill | | Book | | Broadcast | | Chapter | | Entry | | EntryDictionary | | EntryEncyclopedia | | Figure | | Graphic | | Interview | | Legislation | | LegalCase | | Manuscript | | Map | | MotionPicture | | MusicalScore | | Pamphlet | | PaperConference | | Patent | | Post | | PostWeblog | | PersonalCommunication | | Report | | Review | | ReviewBook | | Song | | Speech | | Thesis | | Treaty | | Webpage | |
| Instances | |
|
|
|
Constructors | | Instances | |
|
|
|
|
|
|
|
|
With the list of References and the tuple (citation key,
locator), return the needed reference with the correct locator set.
|
|
|
With the Reference list and the generated position for each
tuple of citation key and locator, produce a list of References
with their positions (which come first.
|
|
|
Constructors | | Instances | |
|
|
|
|
|
|
|
For each citation group generate the position and the citation
number of each citation.
|
|
|
|
Produced by Haddock version 2.4.2 |