Timeline for A function that accepts a pair or a list of pairs
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 9, 2013 at 4:08 | comment | added | Mr.Wizard | +1 because this can be very useful and I've used it myself. However, I passed on posting this in favor of the more explicit pattern as this can run into trouble if the expressions a1, b1 etc. are not atomic. For this reason I find this method less general and more prone to mistakes or at least the need to type check the argument, and then we're back to patterns, usually. | |
| Jun 9, 2013 at 4:01 | history | answered | halirutan | CC BY-SA 3.0 |