string interpolation, scala, sbt, value class, implicit, scalastyle, scalatest, StringContext

Customizing String Interpolation – An Example

Reading Time: 4 minutes OVERVIEW This blog is continuation of – ‘An Invitation From Scala String Interpolation‘. Here we will explore how to define a custom string interpolator. OBJECTIVE In this blog the custom interpolator being designed works exactly like the ‘s interpolator’ with an extra ability to write the “post interpolation content” into a file and finally returning the status message whether the file write was successful or Continue Reading