Expand description
Procedural macros for the fp-library crate.
This crate provides macros for generating and working with Higher-Kinded Type (HKT) traits.
Macros§
- Apply
- Applies a brand to type arguments.
- Kind
- Generates the name of a
Kindtrait based on its signature. - def_
kind - Defines a new
Kindtrait. - generate_
function_ re_ exports - Generates re-exports for all public free functions in a directory.
- generate_
trait_ re_ exports - Generates re-exports for all public traits in a directory.
- impl_
kind - Implements a
Kindtrait for a brand.
Attribute Macros§
- doc_
params - Generates documentation for a function’s parameters.
- doc_
type_ params - Generates documentation for a function’s type parameters.
- hm_
signature - Generates a Hindley-Milner style type signature for a function.