fix(util/kvmap): adjust to Lean definition
This commit is contained in:
parent
6ea5f5196e
commit
082b217928
1 changed files with 7 additions and 6 deletions
|
|
@ -10,13 +10,14 @@ Author: Leonardo de Moura
|
|||
#include "util/name.h"
|
||||
|
||||
namespace lean {
|
||||
enum class data_value_kind { String, Nat, Bool, Name };
|
||||
enum class data_value_kind { String, Bool, Name, Nat /*, Int*/ };
|
||||
/*
|
||||
inductive data_value
|
||||
| of_string (v : string)
|
||||
| of_nat (v : nat)
|
||||
| of_bool (v : bool)
|
||||
| of_name (v : name)
|
||||
inductive DataValue
|
||||
| ofString (v : String)
|
||||
| ofBool (v : Bool)
|
||||
| ofName (v : Name)
|
||||
| ofNat (v : Nat)
|
||||
| ofInt (v : Int)
|
||||
*/
|
||||
class data_value : public object_ref {
|
||||
data_value(b_obj_arg o, bool b):object_ref(o, b) {}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue