[Haskell] ANNOUNCE: string-qq-0.0.2
audreyt at audreyt.org
Sat Jun 25 22:55:42 CEST 2011
I've just released string-qq 0.0.2 to Hackage:
The main interface is the "s" quasi-quoter:
foo :: IsString a => a
foo = [s|
This is a
It allows simple multi-line strings of any IsString type (Text, String, ByteString, etc),
with no interpolation at all, except that the leading newline is trimmed and
"\r\n" sequences are converted to "\n".
It's compatible with both GHC6 and GHC7; for GHC6, write [$s|…|] instead of [s|…|].
Suggestions and feedback are most welcome. :-)
More information about the Haskell