prototype-0.5.3: prototype-based programming on Haskell

Control.Prototype

Documentation

type Prot m = StateT (ProtEnv m) mSource

data ProtEnv m Source

Instances

data Object Source

Instances

data Member Source

Instances

type Method m = Object -> [Object] -> Prot m [Object]Source

runProt :: Monad m => Prot m a -> ProtEnv m -> m (a, ProtEnv m)Source

evalProt :: Monad m => Prot m a -> ProtEnv m -> m aSource

execProt :: Monad m => Prot m a -> ProtEnv m -> m (ProtEnv m)Source

package :: Monad m => String -> Prot m a -> Prot m aSource

liftProt :: Monad m => m a -> Prot m aSource