open Lam open Types open Proof type cmd = | Goal of ty | Undo | Qed | Tact of tactic type parser_entry = | Lam of lam | Cmd of cmd list