Slowly coming to the conclusion that named arguments are a good thing. Contrast: Either.cond(foo, bar, baz) With: Either.cond( test = foo, right = bar, left = baz )
-
-
Did we? I assumed we copied Haskell's practice. And in Haskell what came first: punning on Right=right or using Right for higher-order unification?
-
I have Martin on record saying it was copied from Haskell - by correcting me in the middle of a talk, which was a bit embarrassing. There might have been further comments along the lines of "I don't like Either, Try is much better, and we really should have used Result instead".
- 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.