Skip to content

Commit

Permalink
Merge pull request #206 from saulshanabrook/saulshanabrook-patch-1
Browse files Browse the repository at this point in the history
Fix to_sexp for extract
  • Loading branch information
oflatt authored Aug 28, 2023
2 parents 9cfe8b9 + b2584a8 commit a79d2c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ast/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,9 @@ impl ToSexp for Command {
} => rule.to_sexp(*ruleset, *name),
Command::RunSchedule(sched) => list!("run-schedule", sched),
Command::Calc(args, exprs) => list!("calc", list!(++ args), ++ exprs),
Command::Extract { variants, fact } => list!("extract", ":variants", variants, fact),
Command::Extract { variants, fact } => {
list!("query-extract", ":variants", variants, fact)
}
Command::Check(facts) => list!("check", ++ facts),
Command::CheckProof => list!("check-proof"),
Command::Push(n) => list!("push", n),
Expand Down

0 comments on commit a79d2c4

Please sign in to comment.