slab-0.0.1.0: A programmable markup language to generate HTML
Safe HaskellSafe-Inferred
LanguageHaskell2010

Slab.Evaluate

Synopsis

Documentation

evaluateFile :: FilePath -> IO (Either Error [Block]) Source #

Similar to preprocessFile but evaluate the template.

evaluate :: Monad m => Env -> [Text] -> [Block] -> ExceptT Error m [Block] Source #