hplayground-0.1.3.1: monadic, reactive Formlets running in the Web browser

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

get a cell for the spreadsheet expression

type Expr a = Map String a -> a Source