shithub: mc

ref: f32109a79fd8602de04e1dca83ae3aaf44cadf03
dir: /parse/trait.def/

View raw version
/* Definitions of built in constraints */
Tc(Tcnum, "tcnum")   /* arith ops */
Tc(Tcint, "tcint")   /* behaves like an int, defaults to int as fallback */
Tc(Tcfloat, "tcfloat")   /* behaves like a float, defaults to float as fallback */
Tc(Tctest, "tctest")  /* if condition */
Tc(Tcidx, "tcidx")   /* indexable */
Tc(Tcslice, "tcslice") /* sliceable */
Tc(Ncstr, "")