Ah, the RHS of Scalaz's Monoid#append is a by-name parameter. There goes my runtime efficiency…
@djspiewak I'd prefer if nothing was and concede that Scala does not do lazy evaluation.
-
-
@dibblego@djspiewak Yeah unfortunately while it's possible to give libraries lazy semantics, it's hard to make it a "default" behavior :(Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@dibblego I'd be curious as to exactly what case motivated this change in Semigroup, not to mention the asymmetry. -
@djspiewak e.g. Option#orElse, &&, ||, for example, but I think it is better to concede the point and incur the code repetition penalty. - 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.