Rename import_all. The idea is to use consistent name for library files.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
0c09e4524a
commit
573ec5ccc2
13 changed files with 14 additions and 14 deletions
|
@ -95,8 +95,8 @@ add_subdirectory(library/arith)
|
|||
set(LEAN_LIBS ${LEAN_LIBS} arithlib)
|
||||
add_subdirectory(library/cast)
|
||||
set(LEAN_LIBS ${LEAN_LIBS} castlib)
|
||||
add_subdirectory(library/import_all)
|
||||
set(LEAN_LIBS ${LEAN_LIBS} import_all)
|
||||
add_subdirectory(library/all)
|
||||
set(LEAN_LIBS ${LEAN_LIBS} alllib)
|
||||
add_subdirectory(frontends/lean)
|
||||
set(LEAN_LIBS ${LEAN_LIBS} lean_frontend)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread ${LEAN_EXTRA_LINKER_FLAGS}")
|
||||
|
|
|
@ -15,8 +15,8 @@ Author: Leonardo de Moura
|
|||
#include "util/exception.h"
|
||||
#include "kernel/environment.h"
|
||||
#include "library/expr_pair.h"
|
||||
#include "library/import_all/import_all.h"
|
||||
#include "library/state.h"
|
||||
#include "library/all/all.h"
|
||||
#include "frontends/lean/operator_info.h"
|
||||
#include "frontends/lean/coercion.h"
|
||||
#include "frontends/lean/frontend.h"
|
||||
|
|
2
src/library/all/CMakeLists.txt
Normal file
2
src/library/all/CMakeLists.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
add_library(alllib all.cpp)
|
||||
target_link_libraries(alllib ${LEAN_LIBS})
|
|
@ -8,7 +8,7 @@ Author: Leonardo de Moura
|
|||
#include "library/basic_thms.h"
|
||||
#include "library/arith/arith.h"
|
||||
#include "library/cast/cast.h"
|
||||
#include "library/import_all/import_all.h"
|
||||
#include "library/all/all.h"
|
||||
|
||||
namespace lean {
|
||||
void import_all(environment & env) {
|
|
@ -1,2 +0,0 @@
|
|||
add_library(import_all import_all.cpp)
|
||||
target_link_libraries(import_all ${LEAN_LIBS})
|
|
@ -13,7 +13,7 @@ Author: Leonardo de Moura
|
|||
#include "library/metavar.h"
|
||||
#include "library/printer.h"
|
||||
#include "library/basic_thms.h"
|
||||
#include "library/import_all/import_all.h"
|
||||
#include "library/all/all.h"
|
||||
#include "frontends/lean/frontend.h"
|
||||
#include "frontends/lean/elaborator.h"
|
||||
#include "frontends/lean/elaborator_exception.h"
|
||||
|
|
|
@ -13,7 +13,7 @@ Author: Leonardo de Moura
|
|||
#include "kernel/abstract.h"
|
||||
#include "library/printer.h"
|
||||
#include "library/arith/arith.h"
|
||||
#include "library/import_all/import_all.h"
|
||||
#include "library/all/all.h"
|
||||
using namespace lean;
|
||||
|
||||
static void tst1() {
|
||||
|
|
|
@ -15,7 +15,7 @@ Author: Leonardo de Moura
|
|||
#include "kernel/abstract.h"
|
||||
#include "library/printer.h"
|
||||
#include "library/arith/arith.h"
|
||||
#include "library/import_all/import_all.h"
|
||||
#include "library/all/all.h"
|
||||
using namespace lean;
|
||||
|
||||
static void tst1() {
|
||||
|
|
|
@ -16,7 +16,7 @@ Author: Leonardo de Moura
|
|||
#include "kernel/abstract.h"
|
||||
#include "kernel/kernel_exception.h"
|
||||
#include "library/printer.h"
|
||||
#include "library/import_all/import_all.h"
|
||||
#include "library/all/all.h"
|
||||
using namespace lean;
|
||||
|
||||
expr normalize(expr const & e) {
|
||||
|
|
|
@ -14,8 +14,8 @@ Author: Leonardo de Moura
|
|||
#include "kernel/normalizer.h"
|
||||
#include "library/max_sharing.h"
|
||||
#include "library/deep_copy.h"
|
||||
#include "library/import_all/import_all.h"
|
||||
#include "library/arith/arith.h"
|
||||
#include "library/all/all.h"
|
||||
using namespace lean;
|
||||
|
||||
expr norm(expr const & e, environment & env) {
|
||||
|
|
|
@ -16,9 +16,9 @@ Author: Leonardo de Moura
|
|||
#include "kernel/builtin.h"
|
||||
#include "kernel/normalizer.h"
|
||||
#include "library/printer.h"
|
||||
#include "library/import_all/import_all.h"
|
||||
#include "library/basic_thms.h"
|
||||
#include "library/arith/arith.h"
|
||||
#include "library/all/all.h"
|
||||
using namespace lean;
|
||||
|
||||
expr c(char const * n) { return mk_constant(n); }
|
||||
|
|
|
@ -9,10 +9,10 @@ Author: Leonardo de Moura
|
|||
#include "kernel/type_checker.h"
|
||||
#include "kernel/environment.h"
|
||||
#include "kernel/abstract.h"
|
||||
#include "library/arith/arith.h"
|
||||
#include "library/import_all/import_all.h"
|
||||
#include "library/light_checker.h"
|
||||
#include "library/printer.h"
|
||||
#include "library/arith/arith.h"
|
||||
#include "library/all/all.h"
|
||||
using namespace lean;
|
||||
|
||||
static void tst1() {
|
||||
|
|
Loading…
Reference in a new issue