tolysz/rawstring-qm


Simple Haskell Quotation

License: BSD-3-Clause

Language: Haskell


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"

Project Statistics

Sourcerank 4
Repository Size 14.6 KB
Stars 3
Forks 1
Watchers 1
Open issues 1
Dependencies 0
Contributors 1
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Marcin Tolysz

Packages Referencing this Repo

rawstring-qm
Simple Haskell Quotation
Latest release 0.2.3.0 - Updated - 3 stars

Something wrong with this page? Make a suggestion

Last synced: 2018-02-04 11:44:01 UTC

Login to resync this repository