--
You received this message because you are subscribed to the Google Groups "scala-internals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-interna...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
s"implicit def hlistTupler«arity»[«A..N»] : Aux[«A::N», «(A..N)»] = ..."
s"I am «qual»body"
val `"` = '"'
s"a=«"
»$a«"»"
--
You received this message because you are subscribed to the Google Groups "scala-internals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-interna...@googlegroups.com.
Sure, I can add that :)I also have another enhanced variant that I've been mulling over,to use guillemets (french/angle quotes) for interpolation. Some of the examples previously seen would then become:s"implicit def hlistTupler«arity»[«A..N»] : Aux[«A::N», «(A..N)»] = ..." s"I am «qual»body"
val `"` = '"' s"a=«"
»$a«"»"In this form, I'd only allow string-literal identifiers and not full expressions - so as to avoid ambiguity in parsing.
The precedent has already been set for using unicode characters with arrows for lambdas and in comprehensions, so this doesn't seem *too* shocking to me. There would still, potentially, be a some already featuring angle-quotes in interpolated strings. So even this proposal isn't entirely risk-free.