syntax...(strings/interpolation/here docs)
Simon Marlow
simonmar@microsoft.com
Wed, 13 Feb 2002 13:30:29 -0000
> Does anybody with their elbows in the
> code think variable interpolation and/or
> multi-line strings are good/doable ideas?=20
> Would this be the sort of change one could make
> without a lot of previous familiarity with
> the implementation of Hugs/Ghc?
> It would be a *signifigant* boon to those
> of us trying to get haskell into organizations
> by using it as "maintainable perl/sh", and
> generally make an already delightful language
> more delightful.
I once wondered about translating
"aaa \$bbb ccc"
into
"aaa " ++ show bbb ++ " ccc"
(before you check, \$ isn't a valid escape sequence in Haskell 98). Of =
course, you could go all the way and do it properly:
http://www.dcs.gla.ac.uk/~partain/haskerl/partain-1.html
Cheers,
Simon