Returns a representation of "c[0] + ... + c[n-1]" for c in clauses
(expressions ...Expression)
| 407 | |
| 408 | // Returns a representation of "c[0] + ... + c[n-1]" for c in clauses |
| 409 | func Add(expressions ...Expression) Expression { |
| 410 | return &arithmeticExpression{ |
| 411 | expressions: expressions, |
| 412 | operator: []byte(" + "), |
| 413 | } |
| 414 | } |
| 415 | |
| 416 | // Returns a representation of "c[0] - ... - c[n-1]" for c in clauses |
| 417 | func Sub(expressions ...Expression) Expression { |