Hello all,

Just a quick note that it is now possible to use the Smalltalk-like block syntax "{ |args| ... }" to represent any kind of closure. The compiler will (attempt to) infer if you mean a block/lambda/sendfn (proper names pending) based on context, just as it infers the type of the arguments and return type.


Niko
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to