Skip to content

Instantly share code, notes, and snippets.

@nagat01
Created September 3, 2024 23:26
Show Gist options
  • Save nagat01/aafbe648d042e629b0fa012e8dc0482f to your computer and use it in GitHub Desktop.
Save nagat01/aafbe648d042e629b0fa012e8dc0482f to your computer and use it in GitHub Desktop.
@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