on master help sign in
Add doc notes about collpasing multiline string
commit9ba9c6b8dcfcd83045cddb4a4e725589fbafe527 authorHarendra Kumar <harendra@composewell.com> dateWed 14 Jun 2023, 07:25 (3 years ago) parentfe3fd67
1 file changed+4
core/src/Streamly/Unicode/String.hs+4
core/src/Streamly/Unicode/String.hs+4
@@ -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
1115module Streamly.Unicode.String
1216 ( str