| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Types
- class Displayable a where
 - data DisplayType
 - data Display = Display {}
 
Documentation
class Displayable a where Source #
Displayable takes a type and wraps it in a Display Display will be used in HaskellDO to handle media rendering
Minimal complete definition
data DisplayType Source #
DisplayType contains the allowed media to render Any extensions to this library (i.e custom Display instances) should add a type here E.g adding a display for latex would add the type DisplayLatex here
Constructors
| DisplayText | |
| DisplayJpg | |
| DisplayPng | |
| DisplayHtml | 
Instances
The Display data type carries the type of data to render and the content to render DisplayText is the default for things interpreted in GHCi
Constructors
| Display | |
Fields 
  | |