Skip to content

Instantly share code, notes, and snippets.

@nagat01
Created September 3, 2024 02:35
Show Gist options
  • Save nagat01/0bcf7f1228494652dbca7e04671e02a7 to your computer and use it in GitHub Desktop.
Save nagat01/0bcf7f1228494652dbca7e04671e02a7 to your computer and use it in GitHub Desktop.
import scala.language.implicitConversions
given Conversion[Int, String] = x => x.toString
@main def main =
val str: String = 42
println(str)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment