| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
LAM.IsLAM
Description
This package defines many abstract machines, so we define a type to work with them.
Documentation
data IsLAM (m :: Type -> Type) e s t #
A record that holds initialization and step functions for an abstract machine.
runTrace :: Monad m => IsLAM m e s t -> t -> m [s] #
Run the abstract machine to the final state and return a trace of the whole execution.
runTraceFinite :: Monad m => Word -> IsLAM m e s t -> t -> m [s] #
Run the abstract machine a given number of steps and return a trace of the whole execution.