flex-tasks-0.1
Safe HaskellNone
LanguageHaskell2010

FlexTask.InterpreterHelper

Synopsis

Documentation

syntaxAndSemantics :: (String -> LangM' Report b) -> (FilePath -> a -> b -> LangM Report) -> (FilePath -> a -> b -> Rated Report) -> String -> FilePath -> a -> IO ([Output], Maybe (Maybe Rational, [Output])) Source #

getFormData :: Rendered Widget -> IO ([[Text]], HtmlDict) Source #

Extract a form from the environment. The result is an IO embedded tuple of field IDs and a map of language and internationalized html pairs.

Orphan instances

MonadCatch (RandT g IO) Source # 
Instance details

Methods

catch :: (HasCallStack, Exception e) => RandT g IO a -> (e -> RandT g IO a) -> RandT g IO a #

MonadThrow (RandT g IO) Source # 
Instance details

Methods

throwM :: (HasCallStack, Exception e) => e -> RandT g IO a #