fig-1.4.0: Manipulation of FIG files

Safe HaskellSafe-Inferred

Graphics.Fig.Values

Description

Translations between integer or string values and data types.

This (internal) module converts between the character encodings of the FIG files and the primitive types of Graphics.Fig.Syntax (PaperSize, CoordinateSystem, etc.).

Documentation

toFromValue :: (Ord k, Ord a, Show a) => [(a, k)] -> (a -> Either [Char] k, k -> a)Source