Raw string literals for Haskell.


Version on this page:1.0.2
LTS Haskell 21.23:1.1
Stackage Nightly 2023-12-07:1.1
Latest on Hackage:1.1

See all snapshots raw-strings-qq appears in

BSD-3-Clause licensed by Mikhail Glushenkov
This version can be pinned in stack with:raw-strings-qq-1.0.2@sha256:a4194459b5319510f95fd55e489745569f0a33fc53f754207726a6a12e9f1919,1223

Module documentation for 1.0.2

A quasiquoter for raw string literals - that is, string literals that don't recognise the standard escape sequences (such as '\n'). Basically, they make your code more readable by freeing you from the responsibility to escape backslashes. They are useful when working with regular expressions, DOS/Windows paths and markup languages (such as XML).

See examples/RawRegex.hs for a usage example.