iets3.opensource icon indicating copy to clipboard operation
iets3.opensource copied to clipboard

Interpolation should allow inserting Expression-Words without pre- and appended spaces.

Open bj2015 opened this issue 6 years ago • 0 comments

Currently, Interpolation in KernelF automatically pre- and appends spaces whenever inserting Expression-Words:

val e = "bar" '''foo$(e)baz'''

yields "foo bar baz".

In order to give the user more control over the spacing, there should be a special character "~", which allows omitting these inserted spaces, i.e. "foo~$(e)~baz" would yield "foobarbaz" and "foo~$(e)baz" would yield "foobar baz".

bj2015 avatar Mar 08 '19 09:03 bj2015