hyper-0.1.0.3: 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
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

Methods

display :: a -> Graphic Source #

Instances
Display Bool Source # 
Instance details

Defined in Hyper.Internal

Methods

display :: Bool -> Graphic Source #

Display Double Source # 
Instance details

Defined in Hyper.Internal

Display Int Source # 
Instance details

Defined in Hyper.Internal

Methods

display :: Int -> Graphic Source #

Display Integer Source # 
Instance details

Defined in Hyper.Internal

Display () Source # 
Instance details

Defined in Hyper.Internal

Methods

display :: () -> 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

Methods

display :: [Int] -> Graphic Source #

Display [String] Source # 
Instance details

Defined in Hyper.Internal

Methods

display :: [String] -> Graphic Source #

Internal

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