#hkt #functional #proc-macro #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

#223 in Procedural macros

Download history 477/week @ 2024-05-21 562/week @ 2024-05-28 21/week @ 2024-06-04

1,060 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

~310–770KB
~18K SLoC