Silly question of the day: Is there a way in #scala3 to "unpack" a String at the type level ?
ie: val x: Unpack["abc"] = ('a', 'b', 'c')
-
-
Ah I see. I can give it a try :) Any non-macro solution ?
-
For some reason I read the word "macro" in your question, but maybe that's what happens when you've been doing Scala 3 macros all day...
- 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.