shithub: mc

ref: 3699a6c3daf7648653b3e4936f39bc6061331446
dir: /parse/trait.def/

View raw version
/* Definitions of built in constraints */
Tc(Tcnum,       "numeric")      /* arith ops */
Tc(Tcint,       "integral")     /* behaves like an int, defaults to int as fallback */
Tc(Tcfloat,     "floating")     /* behaves like a float, defaults to float as fallback */
Tc(Tcidx,       "indexable")    /* indexable */
Tc(Tcslice,     "sliceable")    /* sliceable */