y-yu / rust-type-level-programming-introduction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Type level Programming in Rust

CI

This is a working example of type level programming in Rust.

  • Type level data
    • TBool
    • TNat
    • HList
  • Type level operations
    • TAnd, TOr for TBool
    • TAdd, TSub, TEqaul for TNat
    • TContains<N: TNat> for HList

About

License:MIT License


Languages

Language:Rust 100.0%