#functional #proc-macro #hkt #higher-kinded-types

macro timrs_hkt_macro

Rust Higher-Kinded Types emulation procedural macros

15 releases (2 stable)

1.1.0-rc.6 May 28, 2024
1.0.1 May 22, 2024

#305 in Procedural macros

MIT license

20KB
352 lines

Tim.rs: hkt_macro

Latest Version Test Lint Code Standards

Tim.rs' hkt_macro is a Rust library that helps you emulate Higher-Kinded Types (HKTs) using traits. It makes it easier to handle more advanced type scenarios and create flexible, reusable code. If you need HKTs in Rust, hkt_macro can be a handy tool.

Table of Contents

Install

Run the following command to install the hkt_macro crate:

$ cargo install timrs_hkt_macro

Documentation

You can find the documentation for timrs_hkt_macro here, it provides all the information you need to get started

Acknowledgments

Thanks Massimiliano Tomassoli for the original implementation of this Higher-Kinded Type emulation system.

Dependencies

~240–680KB
~16K SLoC