Created
September 3, 2024 02:35
-
-
Save nagat01/0bcf7f1228494652dbca7e04671e02a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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