Provides simple and useful macros to declare 'type and range checked' aliases for integers and floats.
#[macro_use]externcrate num_alias;fnmain(){// declare alias with range[3, 6)
int_alias!(Val,i32,3=>6);let a = Val(5);let b = Val(4);// this code panics
let c = a * b;}