Lazyweb: Is there a more concise Scala form of: ``` var foo = thing match { case bar: SomeTrait => bar.whatever case _: foo } ``` Like an `orElse` for trait matching?
-
-
Well, it’s different at least. Thanks for confirming I wasn’t just missing something dumb.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Ah, music of
#Scala! Thank you.:)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.