Description
Heredocument on Haskell.
Description
A heredocument library supports shakespeare-like syntax.
README.md
heredocs-r2
A heredocument library supports shakespeare-like syntax.
Original: cutsea110/heredoc
Example
{-# LANGUAGE QuasiQuotes #-}
import Text.Heredoc (heredoc)
main :: IO ()
main =
let x = 42 in
putStrLn [heredoc|x = ${show x}|] -- => x = 42
Since this library supports shakespeare-like syntax, please see Yesod Web Framework Book for more informations.