These are chat archives for rust-lang/rust

19th
May 2015
Ivan Kurnosov
@zerkms
May 19 2015 08:16
Guys, is there a single and actual reference on how to return anonymous functions from functions?
I've found billions of discussions and every one suggests something that is obsolete at the moment already
so what is the official position for that?
What I need: to return a function that: a) captures one variable from the outer scope b) accepts a list c) returns a custom type (a tuple)
Murph Murphy
@skeet70
May 19 2015 15:24
http://is.gd/w5RxuO seems to work for me, think that could be adapted to what you're talking about?
Ivan Kurnosov
@zerkms
May 19 2015 19:40
@skeet70 I will try, thanks