HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Package1.1Text

raw-strings-qq

Raw string literals for Haskell.

Modules

1 module
  • Text.RawString.QQ2Raw string literals, implemented using Template Haskell's quasiquotation

Description

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.

Depends on

2 packages

Used by in this set · 0

Nothing in this set depends on it.