Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I was not aware Rust had macros. Does that mean one can write lispy things like the "with-*" macros ?

Sorry, I'm afraid I'm confessing my affair with Emacs but I swore I'd leave her behind...



Rust's macros are generally Scheme-like (macro-by-example), although it's not exactly the same since Rust obviously doesn't use S-expressions. See http://static.rust-lang.org/doc/0.5/tutorial-macros.html for a little more info on Rust's macros system.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: