Module Cost

module Cost: sig .. end

Measture the cost of term


val basicCost : Ast.term -> Ast.term list -> int

measure the cost of term by counting and multiply a constant

term : the target body
nontermlist : non-terminal list