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

Safe HaskellNone
LanguageHaskell98

Hyper

Contents

Synopsis

Synopsis

Visualizing and representing Haskell values in the HyperHaskell interpreter.

Graphics

data Graphic Source #

A graphical representation of data.

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.

Display class

class Display a where Source #

Class for displaying Haskell values.

Minimal complete definition

display

Methods

display :: a -> Graphic Source #

Internal

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