¤ Gfx, g

Graphics

Types

data Gfx = (Graphic ?a) => G ?a
  instance Graphic Gfx
  instance Show Gfx
g :: (Graphic a) => a -> Drawing b Gfx

Description

Gfx allows you to mix different types of graphical objects in the same drawing.

Example

 hboxD [g "Yes",g False, g 42]

Equalities

g = atomicD . G

See Also

Type Drawing, class Graphic.

Bugs

This type is only available if the Haskell compiler in use supports existential quantification in data types.