hyper-0.2.1.1: Display class for the HyperHaskell graphical Haskell interpreter
Safe HaskellNone
LanguageHaskell2010

Hyper

Synopsis

Synopsis

Visualizing and representing Haskell values in the HyperHaskell interpreter.

Graphics

data Graphic Source #

A graphical representation of data.

Instances

Instances details
NFData Graphic Source # 
Instance details

Defined in Hyper.Internal

Methods

rnf :: Graphic -> () #

Display Graphic Source # 
Instance details

Defined in Hyper.Internal

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

Instances

Instances details
Display Bool Source # 
Instance details

Defined in Hyper.Internal

Display Double Source # 
Instance details

Defined in Hyper.Internal

Display Int Source # 
Instance details

Defined in Hyper.Internal

Display Integer Source # 
Instance details

Defined in Hyper.Internal

Display () Source # 
Instance details

Defined in Hyper.Internal

Methods

display :: () -> Graphic Source #

displayIO :: () -> IO Graphic Source #

Display String Source # 
Instance details

Defined in Hyper.Internal

Display Graphic Source # 
Instance details

Defined in Hyper.Internal

Display [Int] Source # 
Instance details

Defined in Hyper.Internal

Display [String] Source # 
Instance details

Defined in Hyper.Internal

Display a => Display (IO a) Source # 
Instance details

Defined in Hyper.Internal

Internal