Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions core/src/Streamly/Internal/Unicode/String.hs
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,14 @@ expandVars input =
Right x ->
strExp x

-- | A QuasiQuoter that treats the input as a string literal:
-- | A QuasiQuoter for multiline string literals with @#{symbol}@
-- interpolation of Haskell values.
--
-- >>> [str|x|]
-- "x"
--
-- Any @#{symbol}@ is replaced by the value of the Haskell symbol @symbol@
-- which is in scope:
-- String interpolation: Any @#{symbol}@ is replaced by the value of the
-- Haskell @symbol@ which is in scope:
--
-- >>> x = "hello"
-- >>> [str|#{x} world!|]
Expand Down
Loading