I fear it creates a lot of weird special cases when also used to represent unboxed newtype.
I know that a lot of work has already gone into an alternative top/bottom type in Nicolas Stucki's research in Phantom Types in Dotty.
-
-
Not sure if this is related to Martin's proposal (where is it, btw?), but if the same it's had a lot of thought already; not half-baked.
-
Just got it via
@kwarkk. Here it is:https://contributors.scala-lang.org/t/pre-sip-parametric-top/1177 …
End of conversation
New conversation -
-
-
Are there any readable conclusion on this work? What I'm sure is that having opaque types asap would be really useful everyday...
-
All I know comes from Nicolas's commits to his Phantom Types branch earlier in the year. Not sure of current status...
End of conversation
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.