heredoc

a simple but highly useful package



{-# LANGUAGE QuasiQuotes #-}

import Text.Heredoc

main = putStr [here|
heredoc is an insanely simple but useful package that makes
the most straightforward use of `QuasiQuotes`. If you need
to embed a block of text in a module then `heredoc` is your
friend.
|]

heredocs has a couple of extra tricks. The beautifully clear and simple heredoc Haddocks have the details.


Got an issue with any of this? Please share or drop me a line (see below).