1 2 3 4 5 6 7 8
object Foo { implicit class MatCreator(val ctx: StringContext) extends AnyVal { def m(args: Any*): Unit = { ctx.checkLengths(args) } ???/*?*/ } }