Rete.IR.Negation (Rete v0.2.0)

Copy Markdown View Source

The negation of a single condition.

The parser does not produce this. Rete.DSL.Normalize creates negations instead, while normalizing Rete.IR.Gate nodes. :condition is always a single Rete.IR.Fact or Rete.IR.Coll. The negation of a conjunction is a Rete.IR.CompoundNegation.

Summary

Types

t()

@type t() :: %Rete.IR.Negation{condition: Rete.IR.Fact.t() | Rete.IR.Coll.t()}