Hi,
I'm a rust newbie and I stared to play with macros a few days ago. Right now I'm trying to develop a macro that behaves similarly to Scala's for comprehension. Draft is available at https://gist.github.com/hanny24/5749688.

However, for future improvements I'm going to need a safe way to introduce a new identifier. Is there anything like LISP's gensym in rust's macros system? Is is even possible to achieve using 'macro by example'?

Regards,
Honza

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

Reply via email to