partialize
partialize is a simple partial application library written in Rust.
Example
;
let partial1 = foo.partial1;
partial1;
partial1;
let partial2 = partial1.partial1_once;
partial2;
let partial3 = partial1.partial1_clone;
partial3;
partial3;
foo.partial1;
Disclaimer
There's a lot of LSP overhead when there are a lot of generics involved, so this library only implements partial application for functions with up to 8 arguments. I've included the script for generating the code with the repository for your convenience.
NO AI WAS USED IN THE CREATION OF THIS LIBRARY.