#curry #macro #currying

no-std mcurry

Macros for creating curried functions

2 releases

0.1.1 Dec 21, 2019
0.1.0 Dec 21, 2019

#1449 in Rust patterns

MIT license

6KB

mcurry

Build Status Crates.io

mcurry exposes macros for creating curried functions.

Roadmap

  • Function-like macros
    • with lambda-like syntax
    • with generic types
    • with specified types
      • return type
      • parameter types
  • Attribute macros
  • Specification of parameter ownership
    • moved parameters
    • referenced parameters
      • immutable
      • mutable
    • owned parameters

Development

Development of mcurry targets the master branch of this repository. Contributions are warmly welcomed!

Changes can be tested by running the check script:

scripts/check lf     # validates lint and format
scripts/check test   # tests source code

No runtime deps