Have you ever wanted to define a default for a type parameter in Scala? Here's how:https://gist.github.com/propensive/8894fd2a58ac93bfa2c3 …
@aloiscochard @puffnfresh @tpolecat How is it a hack? It's designed to do that! The motivating use case was the collections library...
-
-
@propensive@puffnfresh@tpolecat how the collection library is not a gross hack !? ;-)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@propensive@puffnfresh@tpolecat more seriously, those kind of feature should be supported natively imo, I know I'm dreaming though ;) -
@aloiscochard@propensive@tpolecat mate, you're dreaming - 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.