Here is the full Scala 3 macro for @skaalf's string unpacking challenge, in one tweet!https://twitter.com/propensive/status/1359923735843790855 …
Is this, TypeRepr.of(using ConstantType(CharConstant(c)).asType) not the same as, ConstantType(CharConstant(c)) ?
-
-
Apparently not. ConstantType does not extend type
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Oh wait. Yes it works :) Good catch!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.
