QuasiQuoter for non-interpolated strings, texts and bytestrings.
The s quoter contains a multi-line string with no interpolation at all:
{-# LANGUAGE QuasiQuotes #-} import Data.Text (Text) import Data.String.Quote foo :: Text -- String, ByteString etc also works foo = [s| Well here is a multi-line string! |]
Any instance of the IsString type is permitted.
- s :: QuasiQuoter
Documentation
QuasiQuoter for a non-interpolating IsString literal. The pattern portion is undefined.