on 40e89fb help sign in
30 lines 804 B history raw
1{-# LANGUAGE CPP #-}
2-- |
3-- Module : Streamly.Unicode.String
4-- Copyright : (c) 2022 Composewell Technologies
5-- License : BSD-3-Clause
6-- Maintainer : streamly@composewell.com
7-- Stability : released
8-- Portability : GHC
9--
10-- Convenient template Haskell quasiquoters to format strings.
11--
12-- The 'str' quasiquoter retains newlines in the string when the line is split
13-- across multiple lines. The @unwords . lines@ idiom can be used on the
14-- resulting string to collapse it into a single line.
16module Streamly.Unicode.String
17 (
18 -- * Setup
19 -- | To execute the code examples provided in this module in ghci, please
20 -- run the following commands first.
21 --
22 -- $setup
24 str
25 )
26where
28import Streamly.Internal.Unicode.String
30#include "DocTestUnicodeString.hs"