#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

#302 in Procedural macros

Download history 6/week @ 2024-07-28 2/week @ 2024-09-22 4/week @ 2024-09-29

374 downloads per month

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

~250–700KB
~17K SLoC