heredocs-r2: Heredocument on Haskell

[ bsd3, library, text ] [ Propose Tags ] [ Report a vulnerability ]

A heredocument library supports shakespeare-like syntax.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), parsec (>=3.1 && <3.2), template-haskell (>=2 && <3) [details]
License BSD-3-Clause
Copyright Copyright (c) 2016, cutsea110
Author cutsea110, Toma Sasaki
Maintainer netst915@gmail.com
Category Text
Home page https://github.com/t-sasaki915/heredocs-r2#readme
Bug tracker https://github.com/t-sasaki915/heredocs-r2/issues
Source repo head: git clone https://github.com/t-sasaki915/heredocs-r2
Uploaded by t_sasaki915 at 2025-07-04T03:30:22Z
Distributions
Downloads 10 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2025-07-04 [all 1 reports]

Readme for heredocs-r2-0.1.0.2

[back to package description]

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.