Skip to content

Commit 9ba9c6b

Browse files
Add doc notes about collpasing multiline string
1 parent fe3fd67 commit 9ba9c6b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/src/Streamly/Unicode/String.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
-- Portability : GHC
88
--
99
-- Convenient template Haskell quasiquoters to format strings.
10+
--
11+
-- The 'str' quasiquoter retains newlines in the string when the line is split
12+
-- across multiple lines. The @unwords . lines@ idiom can be used on the
13+
-- resulting string to collapse it into a single line.
1014

1115
module Streamly.Unicode.String
1216
( str

0 commit comments

Comments
 (0)