Yeah, Martin seems to have changed his mind and wants to put a new Top type that could also maybe do all this.
Though what about, (x: Any) match { case y: Unsigned => ... } You can do it for `Int` so why not an opaque "Int"?
-
-
The Top thing could be interesting but it's much more impacting & I really wonder whether anybody can clearly foresee its true consequences
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
You can't match against abstract types, and opaque types should have similar semantics (because they're semantically the same, duh).
-
This seems a piece of evidence that opaque types might seem easy (short) but aren't simple. Good answers exist.
- 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.