Backticks make it into a pattern to be matched against the value, like
val x = 7
9 match {
case `x` => "only matches the number seven"
case x => x.toString
}
Backticks make it into a pattern to be matched against the value, like
val x = 7
9 match {
case `x` => "only matches the number seven"
case x => x.toString
}