Skip to content
Simple Haskell Quotation
Haskell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Data
.gitignore
.travis.yml
CHANGES
LICENSE
README.md
Setup.hs
rawstring-qm.cabal
stack.yaml

README.md

rawstring-qm

Coverage Status Build Status Latest Version

Simple library to make haskell more user friendly.

Providing multiline strings and maybe string interpolation form (String -> String) function

Usage

No interpolation:

 [qq|
sadsdasd
asdsad
dsaad
|] == :: String

let asb="bla"
    adv="bla"
[qm| bla $asb bla |]
[qm| bla bla bla |]
[qm| bla bla ${adv} |]
[qm| bla $asb ${adv} |]

[qt| |] -- like qm but produces :: Text and uses ToText before concat
[qtl| |] --- Text.Lazy 

all would give "bla bla bla"

You can’t perform that action at this time.