shithub: mc

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