hyper-0.1.0.0: Display class for the HyperHaskell graphical Haskell interpreter

Safe HaskellNone
LanguageHaskell98

Hyper.Internal

Contents

Synopsis

Synopsis

Internal data types used by the HyperHaskell back-end to analyze values constructed with the Hyper module.

Documentation

data Graphic Source #

A graphical representation of data.

Constructors

Graphic 

Fields

Instances

string :: String -> Graphic Source #

Render a String as a Graphic.

html :: Text -> Graphic Source #

Render arbitrary HTML code as a Graphic.

NOTE: This function does not do check whether the input is well-formed HTML.

NOTE: This function will probably deprecated once we figure out how to do this properly, but for now, just use it.

class Display a where Source #

Class for displaying Haskell values.

Minimal complete definition

display

Methods

display :: a -> Graphic Source #

displayIO :: DisplayIO a => a -> IO Graphic Source #