4 ms·
The real reason why you want ->> can be seen in the code example for rule #7: instead of mapping the result of partitioning, it (wrongly) reuses a (i.e., the or
by sqrt17 16y ago
The real reason why you want ->> can be seen in the code example for rule #7: instead of mapping the result of partitioning, it (wrongly) reuses a (i.e., the original list).
If bugs result in irregularity, then making regularity explicit (by using ->> or other macros/higher-order functions) can be a good thing.
- KirinDave 16y agoGood catch! That's a very good point, and a very hard bug to see when you "get lazy" and use a, b, c as step names.