Safe Haskell | None |
---|---|
Language | Haskell2010 |
Module Interpreter
include functions for interpreting of
Turing machine.
Documentation
data WorkingState Source #
Instances
Eq WorkingState Source # | |
Defined in TuringMachine.Interpreter (==) :: WorkingState -> WorkingState -> Bool # (/=) :: WorkingState -> WorkingState -> Bool # | |
Show WorkingState Source # | |
Defined in TuringMachine.Interpreter showsPrec :: Int -> WorkingState -> ShowS # show :: WorkingState -> String # showList :: [WorkingState] -> ShowS # |
step :: MonadFail m => TuringMachine -> WorkingState -> m (Quadruple, WorkingState) Source #
run :: TuringMachine -> WorkingState -> [WorkingState] Source #
smartRun :: TuringMachine -> WorkingState -> [WorkingState] Source #
superSmartRun :: MonadFail m => TuringMachine -> WorkingState -> m [WorkingState] Source #
module TuringMachine