helma-0.8.4.13: HELMA - Haskellish Esoteric Limited Minimal Automaton
Safe HaskellNone
LanguageHaskell2010

HelVM.HelMA.Automaton.IO.MockIO

Documentation

safeExecMockIOBatch :: ControlT MockIO () -> Safe MockIOData #

safeExecMockIOWithInput :: Input -> ControlT MockIO () -> Safe MockIOData #

runMockIO :: Input -> MockIO UnitSafeWithMessages -> MockIOData #

data MockIOData #

Instances

Instances details
Eq MockIOData # 
Instance details

Defined in HelVM.HelMA.Automaton.IO.MockIO

Read MockIOData # 
Instance details

Defined in HelVM.HelMA.Automaton.IO.MockIO

Show MockIOData # 
Instance details

Defined in HelVM.HelMA.Automaton.IO.MockIO

BusinessIO MockIO # 
Instance details

Defined in HelVM.HelMA.Automaton.IO.MockIO

BusinessIO (SafeT MockIO) # 
Instance details

Defined in HelVM.HelMA.Automaton.IO.MockIO

Methods

wPutAsChar :: Integral v => v -> SafeT MockIO () #

wPutAsDec :: Integral v => v -> SafeT MockIO () #

wGetCharAs :: Integral v => SafeT MockIO v #

wGetDecAs :: Integral v => SafeT MockIO v #

wPutIntAsChar :: Int -> SafeT MockIO ()

wPutIntAsDec :: Int -> SafeT MockIO ()

wGetCharAsInt :: SafeT MockIO Int

wGetDecAsInt :: SafeT MockIO Int

wGetContentsBS :: SafeT MockIO ByteString #

wGetContentsText :: SafeT MockIO Text #

wGetContents :: SafeT MockIO String #

wGetChar :: SafeT MockIO Char #

wGetLine :: SafeT MockIO Text #

wPutChar :: Char -> SafeT MockIO () #

wPutStr :: Text -> SafeT MockIO () #

wPutStrLn :: Text -> SafeT MockIO () #

wLogStr :: Text -> SafeT MockIO () #

wLogStrLn :: Text -> SafeT MockIO () #

wLogShow :: Show s => s -> SafeT MockIO () #

wFlush :: SafeT MockIO () #

BusinessIO (ControlT MockIO) # 
Instance details

Defined in HelVM.HelMA.Automaton.IO.MockIO

Methods

wPutAsChar :: Integral v => v -> ControlT MockIO () #

wPutAsDec :: Integral v => v -> ControlT MockIO () #

wGetCharAs :: Integral v => ControlT MockIO v #

wGetDecAs :: Integral v => ControlT MockIO v #

wPutIntAsChar :: Int -> ControlT MockIO ()

wPutIntAsDec :: Int -> ControlT MockIO ()

wGetCharAsInt :: ControlT MockIO Int

wGetDecAsInt :: ControlT MockIO Int

wGetContentsBS :: ControlT MockIO ByteString #

wGetContentsText :: ControlT MockIO Text #

wGetContents :: ControlT MockIO String #

wGetChar :: ControlT MockIO Char #

wGetLine :: ControlT MockIO Text #

wPutChar :: Char -> ControlT MockIO () #

wPutStr :: Text -> ControlT MockIO () #

wPutStrLn :: Text -> ControlT MockIO () #

wLogStr :: Text -> ControlT MockIO () #

wLogStrLn :: Text -> ControlT MockIO () #

wLogShow :: Show s => s -> ControlT MockIO () #

wFlush :: ControlT MockIO () #