citeproc-hs-0.3.8: 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]

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]

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

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

trim :: String -> String

module Text.CSL.Eval.Common

module Text.CSL.Eval.Output