Questions tagged [heist]

Heist is a Haskell template system supporting both HTML5 and XML.

Heist is a Haskell template system supporting both HTML5 and XML. It is commonly used with the Snap Framework, but it can be used standalone as well.

Links

47 questions
0
votes
1 answer

heist template new api

Which's the equivalent for ... import Happstack.Server.Heist pageHeist :: B.ByteString -> [(T.Text,T.Text)] -> ServerPart Response kfzPaginaHeist template par = do pagina <- newTemplateDirectory' "template" $ bindStrings par…
Hai
  • 4,764
  • 8
  • 29
  • 26
0
votes
1 answer

Why am I getting an EitherT type error?

When I try loading my Heist (0.11) templates with this function: load :: MonadIO n => FilePath -> [(Text, Splice n)] -> IO (HeistState n) load baseDir splices = do tmap <- runEitherT $ do templates <- loadTemplates baseDir let…
dan
  • 43,914
  • 47
  • 153
  • 254
1 2 3
4