Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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
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
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