This post contains a gentle introduction to procedural macros in Rust and a guide to writing a procedural macro to curry Rust functions. The source code for the entire library can be found here. It is also available on crates.io. The following links might prove to be useful before getting started: Procedural Macros Currying Or you can pretend you read them, because I have included a primer here :) Contents Currying Procedural Macros Definitions Refinement The In-betweens 5.1 Dependen...