hplayground-0.1.2.0: a client-side haskell framework that compiles to javascript with the haste compiler

Safe HaskellNone
LanguageHaskell98

Haste.HPlay.Cell

Contents

Description

 

Synopsis

Documentation

data Cell a Source

Constructors

Cell 

Fields

mk :: Maybe a -> Widget a
 
setter :: a -> IO ()
 
getter :: IO (Maybe a)
 

boxCell :: (Show a, Read a, Typeable a) => ElemID -> Cell a Source

(.=) :: MonadIO m => Cell a -> a -> m () infixr 0 Source

Cell assignment

get :: MonadIO m => Cell a -> View Perch m a Source

spradsheet type cells

gcell :: Num a => String -> Map String a -> a Source

type Expr a = Map String a -> a Source

scell :: ElemID -> Expr Float -> Cell Float Source

continuePerch :: Widget a -> ElemID -> Widget a Source