Here is the full Scala 3 macro for @skaalf's string unpacking challenge, in one tweet!https://twitter.com/propensive/status/1359923735843790855 …
Ah, I see you're returning the singleton-literal-typed tuple, and not just a boring old List[Char]!
-
-
It was the main difficulty indeed

-
Is this, TypeRepr.of(using ConstantType(CharConstant(c)).asType) not the same as, ConstantType(CharConstant(c)) ?
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.