chore(library/module): remove dead code
This commit is contained in:
parent
9d3aa5b627
commit
3958d8485a
2 changed files with 0 additions and 20 deletions
|
|
@ -289,13 +289,6 @@ static void inductive_reader(deserializer & d, shared_environment & senv,
|
|||
return cdecl.add(env);
|
||||
});
|
||||
}
|
||||
|
||||
environment add_inductive(environment const & env, name const & ind_name, level_param_names const & level_params,
|
||||
unsigned num_params, expr const & type, list<inductive::intro_rule> const & intro_rules,
|
||||
bool is_trusted) {
|
||||
inductive::inductive_decl decl(ind_name, level_params, num_params, type, intro_rules);
|
||||
return module::add_inductive(env, decl, is_trusted);
|
||||
}
|
||||
} // end of namespace module
|
||||
|
||||
struct import_modules_fn {
|
||||
|
|
|
|||
|
|
@ -115,20 +115,7 @@ environment declare_quotient(environment const & env);
|
|||
|
||||
/** \brief The following function must be invoked to register the builtin HITs in the kernel. */
|
||||
environment declare_hits(environment const & env);
|
||||
|
||||
/**
|
||||
\brief Declare a single inductive datatype. This is just a helper function implemented on top of
|
||||
the previous (more general) add_inductive.
|
||||
*/
|
||||
environment add_inductive(environment const & env,
|
||||
name const & ind_name, // name of new inductive datatype
|
||||
level_param_names const & level_params, // level parameters
|
||||
unsigned num_params, // number of params
|
||||
expr const & type, // type of the form: params -> indices -> Type
|
||||
list<inductive::intro_rule> const & intro_rules); // introduction rules
|
||||
|
||||
}
|
||||
|
||||
void initialize_module();
|
||||
void finalize_module();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue