lean4-htt/library/init/meta/attribute.lean
Leonardo de Moura e4fd627ae2 feat(library/attribute_manager): fingerprints
The fingerprint changes whenever a new attribute is added.
2016-08-23 08:20:37 -07:00

17 lines
543 B
Text

/-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Ullrich
-/
prelude
import init.meta.tactic
meta_constant attribute.get_instances : name → tactic (list name)
meta_constant attribute.fingerprint : name → tactic nat
structure user_attribute :=
(descr : string)
/- Registers a new user-defined attribute. The argument must be the name of a definition of type
`user_attribute`. -/
meta_constant attribute.register : name → command