I started working on #6 and ran into a few other limitations of Rust's macro system. This kind of escalated, and I ended up re-implementing it as proc macro in the great lambda crate. But I think the macro fits better in here, so I copied the code over (:
The new style is undoubtedly different, but it's nice, simple and I really like it. A lot of the limitations like having to use braces and brackets no longer apply. See the cargo doc for more details.
I started working on #6 and ran into a few other limitations of Rust's macro system. This kind of escalated, and I ended up re-implementing it as proc macro in the great lambda crate. But I think the macro fits better in here, so I copied the code over (:
The new style is undoubtedly different, but it's nice, simple and I really like it. A lot of the limitations like having to use braces and brackets no longer apply. See the
cargo doc
for more details.