LicenseGNU LGPLv3
Maintainerpaul.bittner@uni-ulm.de
Safe HaskellNone

FeatureColour

Description

Module for colouring features and feature formulas. We use this colouring for visualizing features when printing to terminal.

Synopsis

Documentation

type ColourPalette a m = a -> Color m Source #

A ColourPalette assigns values of type a to Colors.

defaultFeatureFormulaColouring :: MonadColorPrinter m => FeatureColourPalette m -> FeatureFormulaColourPalette m Source #

Lifts a colour palette over features (FeatureColourPalette) to a palette over formulas (FeatureFormulaColourPalette).