You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scala 2.13.10>"foo bar"match { cases"f${x}r"=> x }
^
warning: match may not be exhaustive.
valres1:String= oo ba
there is a bit of material on this https://docs.scala-lang.org/sips/string-interpolation.html but not very much (it only references a theoretical xml interpolator — understandable since the SIP predates any use of the feature in the Scala stdlib)
The text was updated successfully, but these errors were encountered:
I was surprised today to notice that https://docs.scala-lang.org/overviews/core/string-interpolation.html makes no reference to the use of string interpolation in patterns, e.g. with the
s
interpolator:there is a bit of material on this https://docs.scala-lang.org/sips/string-interpolation.html but not very much (it only references a theoretical
xml
interpolator — understandable since the SIP predates any use of the feature in the Scala stdlib)The text was updated successfully, but these errors were encountered: