Created
September 3, 2024 23:26
-
-
Save nagat01/aafbe648d042e629b0fa012e8dc0482f to your computer and use it in GitHub Desktop.
This file contains 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
@main def main = | |
def summon2[T](using x: T): x.type = x | |
println( | |
summon[Numeric[Int]] == | |
summon2[Numeric[Int]] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment