Skip to main content

Crate fp_macros

Crate fp_macros 

Source
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 Kind trait based on its signature.
def_kind
Defines a new Kind trait.
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 Kind trait 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.