lean2/src/frontends/lean/begin_end_ext.h
Leonardo de Moura 725f5ba0a0 feat(frontends/lean): use 'begin-end' instead of 'proof-qed' for blocks of tactics, closes #81
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-08-21 16:58:25 -07:00

16 lines
550 B
C++

/*
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include "kernel/environment.h"
#include "frontends/lean/cmd_table.h"
namespace lean {
environment add_begin_end_pre_tactic(environment const & env, expr const & pre_tac);
environment reset_begin_end_pre_tactic(environment const & env, expr const & pre_tac);
optional<expr> get_begin_end_pre_tactic(environment const & env);
void register_begin_end_cmds(cmd_table & r);
}