Why do case classes extend Product but not ProductN? Do we *want* people to be forced to use macros/codegen for every little thing? =(
@li_haoyi But you could provide your own (which could be a macro, of course).
-
-
@propensive It *needs* to be a macro, no "could" about it! There's no way of accessible the fields of a case class in a generic fashion. -
@li_haoyi It's a different problem, but you could implement the type class with different arity overloads, maybe. Not sure you'd want to. ;) - 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.