About

Metadata

  • Last updated , by t_sasaki915
  • License BSD-3-Clause
  • Categories Text Processing
  • Maintained by: netst915@gmail.com

  • Lottery factor: 1

Links

Installation

Readme

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.