MCPcopy
hub / github.com/google/mangle / NewNegAtom

Function NewNegAtom

ast/ast.go:1084–1086  ·  view source on GitHub ↗

NewNegAtom is a convenience constructor for NegAtom.

(predicateSym string, args ...BaseTerm)

Source from the content-addressed store, hash-verified

1082
1083// NewNegAtom is a convenience constructor for NegAtom.
1084func NewNegAtom(predicateSym string, args ...BaseTerm) NegAtom {
1085 return NegAtom{NewAtom(predicateSym, args...)}
1086}
1087
1088// FunctionSym represents a function symbol with a given arity.
1089type FunctionSym struct {

Callers 3

TestClausesFunction · 0.92
TestStringFunction · 0.85

Calls 1

NewAtomFunction · 0.85

Tested by 3

TestClausesFunction · 0.74
TestStringFunction · 0.68