Skip to content

Commit

Permalink
sprinkle a little docs
Browse files Browse the repository at this point in the history
  • Loading branch information
oflatt committed Sep 3, 2023
1 parent b6fe9c4 commit 5d47d73
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ast/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -741,8 +741,15 @@ impl Display for Fact {
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub enum Action {
Let(Symbol, Expr),
/// `set` a table to a particular result.
/// `set` should not be used on datatypes-
/// instead, use `union`.
Set(Symbol, Vec<Expr>, Expr),
Delete(Symbol, Vec<Expr>),
/// `union` two datatypes, making them equal
/// in the implicit, global equality relation
/// of egglog.
/// All rules match modulo this equality relation.
Union(Expr, Expr),
Extract(Expr, Expr),
Panic(String),
Expand Down

0 comments on commit 5d47d73

Please sign in to comment.