chart-svg-various-0.0.2: See readme.md

Safe HaskellNone
LanguageHaskell2010

Chart.Serve

Contents

Synopsis

Documentation

data SConfig Source #

Constructors

SConfig 
Instances
Eq SConfig Source # 
Instance details

Defined in Chart.Serve

Methods

(==) :: SConfig -> SConfig -> Bool #

(/=) :: SConfig -> SConfig -> Bool #

Show SConfig Source # 
Instance details

Defined in Chart.Serve

Generic SConfig Source # 
Instance details

Defined in Chart.Serve

Associated Types

type Rep SConfig :: Type -> Type #

Methods

from :: SConfig -> Rep SConfig x #

to :: Rep SConfig x -> SConfig #

type Rep SConfig Source # 
Instance details

Defined in Chart.Serve

run :: SConfig -> IO () Source #

serveSend :: SConfig -> Animation -> IO () Source #

serveSend (defaultSConfig & #frameRate .~ 1000) frameStamp

data Animation Source #

Constructors

Animation 

Fields

wranglers

carousel :: SConfig -> Cont IO (Emitter IO Double) Source #

One of the joys of box is you get great support for adhoc low-level testing

glue toStdout . fmap show <$.> carousel (defaultSConfig & #frameRate .~ 100)

delaylist :: [Double] -> [a] -> Cont IO (Emitter IO a) Source #