Re:Pointers in Rust: a guide
by kibwen on Friday October 18, 2013 @02:01PM
(#6572886)
Ruster here, and this is also something that concerns me (I too have run afoul of the map vs filter issue that you mention). We'll need to carefully consider our composable higher-order-function APIs before 1.0.
[ Parent
| on HN ]
Re:Pointers in Rust: a guide
by lucian1900 on Friday October 18, 2013 @05:15PM
(#6574058)
I think an approach like Clojure's reducers might work, since it's possible to compose several higher-order operations and end up with no extra allocations or loops.