type-operators 0.3.5

A macro system for creating type operators in Rust and writing type-level logic.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[macro_use]
extern crate type_operators;

type_operators! {
    [A, B, C, D, E]

    data List {
        Nil,
        Cons(_, List),
    }
}