shithub: mc

ref: dc335f52e7cd8526d3cc9d979057d3de593f94c6
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, "")