Answer architecture round 3, stability round 1 and product-owner round 1: CalcName and proven.OfCalc for one meaning per name, a lazy load placed where its lookup found it, DataType's constants typed under it, and cover printing the module's total
This commit is contained in:
@@ -47,8 +47,8 @@ func (v Value) Or(w Value) Value {
|
||||
return v
|
||||
}
|
||||
|
||||
// Calc bounds a calc expression from its operands, or says why it cannot.
|
||||
func Calc(expr grammar.CalcNode, operand func(name string) Value) (Value, string) {
|
||||
// OfCalc bounds a calc expression from its operands, or says why it cannot.
|
||||
func OfCalc(expr grammar.CalcNode, operand func(name string) Value) (Value, string) {
|
||||
v, doubt := bound(expr, operand)
|
||||
if doubt == "" && !(magnitude(v) <= limit) {
|
||||
doubt = grammar.CalcText(expr) + " is not proven within 1e300"
|
||||
|
||||
Reference in New Issue
Block a user