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

Portability | unportable
Stability | unstable
Maintainer | Andrea Rossato <andrea.rossato@unitn.it>
Safe Haskell | None

Text.CSL.Eval

Description

The CSL implementation

Synopsis

- evalLayout :: Layout -> EvalMode -> Bool -> [Locale] -> [MacroMap] -> [Option] -> [Abbrev] -> Reference -> [Output]
- evalSorting :: EvalMode -> [Locale] -> [MacroMap] -> [Option] -> [Sort] -> [Abbrev] -> Reference -> [Sorting]
- last' :: [a] -> [a]
- split :: (Char -> Bool) -> String -> [String]
- trim :: String -> String
- module Text.CSL.Eval.Common
- module Text.CSL.Eval.Output

# Documentation

evalLayout :: Layout -> EvalMode -> Bool -> [Locale] -> [MacroMap] -> [Option] -> [Abbrev] -> Reference -> [Output]Source

Produce the output with a `Layout`, the `EvalMode`, a `Bool` `True` if the evaluation happens for disambiguation purposes, the `Locale`, the `MacroMap`, the position of the cite and the `Reference`.

evalSorting :: EvalMode -> [Locale] -> [MacroMap] -> [Option] -> [Sort] -> [Abbrev] -> Reference -> [Sorting]Source

last' :: [a] -> [a]Source

split :: (Char -> Bool) -> String -> [String]Source

trim :: String -> String Source

module Text.CSL.Eval.Common

module Text.CSL.Eval.Output