[rust-dev] closure types

Niko Matsakis niko at alum.mit.edu
Thu Jan 12 16:04:13 PST 2012

On 1/12/12 3:49 PM, Brian Anderson wrote:
> I like your new proposal but feel like the tutorial goes backwards. It should say 'pass a function around with type 'fn'; build functions with {|x| }; oh, but you might also be interested in all these caveats'.

Yeah, probably.  To be fair that's kind of how Marijn had it and I kind 
of messed it up.  It's the typical computer scientist tendency to build 
up from the low-level details when you ought to explain by lowering down...


More information about the Rust-dev mailing list