lambda-frame-script-0.1.2.0

Safe HaskellNone
LanguageHaskell2010

Script.Core

Documentation

data Script a Source #

Instances

Monad Script Source # 

Methods

(>>=) :: Script a -> (a -> Script b) -> Script b #

(>>) :: Script a -> Script b -> Script b #

return :: a -> Script a #

fail :: String -> Script a #

Functor Script Source # 

Methods

fmap :: (a -> b) -> Script a -> Script b #

(<$) :: a -> Script b -> Script a #

Applicative Script Source # 

Methods

pure :: a -> Script a #

(<*>) :: Script (a -> b) -> Script a -> Script b #

(*>) :: Script a -> Script b -> Script b #

(<*) :: Script a -> Script b -> Script a #

MonadIO Script Source # 

Methods

liftIO :: IO a -> Script a #

MonadState ScriptState Script Source # 
MonadReader ScriptEnv Script Source # 

Methods

ask :: Script ScriptEnv #

local :: (ScriptEnv -> ScriptEnv) -> Script a -> Script a #

reader :: (ScriptEnv -> a) -> Script a #