labAboveF, labBelowF, et al

Decoration

Types

labAboveF :: (Graphic a) => a -> F b c -> F b c
labBelowF :: (Graphic a) => a -> F b c -> F b c
labLeftOfF :: (Graphic a) => a -> F b c -> F b c
labRightOfF :: (Graphic a) => a -> F b c -> F b c

Synopsis

labAboveF label fudget

Description

These combinators are used to attach a label to a fudget in a simple way. The names suggest where the label is placed relative to the fudget.

Arguments

label :: a
The label. The label can be a value of any type that is an instance of the Graphic class, e.g., a string.

fudget :: F b c
The fudget to which the label is attached.

Example

 "x=" `labLeftOfF` intF

See Also

tieLabelF.