equal
deleted
inserted
replaced
1283 || Args.$$$ "drop" -- Args.colon |-- (Scan.repeat1 Parse.term >> mk_const_attribute del_eqns) |
1283 || Args.$$$ "drop" -- Args.colon |-- (Scan.repeat1 Parse.term >> mk_const_attribute del_eqns) |
1284 || Args.$$$ "abort" -- Args.colon |-- (Scan.repeat1 Parse.term >> mk_const_attribute del_exception) |
1284 || Args.$$$ "abort" -- Args.colon |-- (Scan.repeat1 Parse.term >> mk_const_attribute del_exception) |
1285 || Scan.succeed (mk_attribute add_eqn_maybe_abs); |
1285 || Scan.succeed (mk_attribute add_eqn_maybe_abs); |
1286 in |
1286 in |
1287 Datatype_Interpretation.init |
1287 Datatype_Interpretation.init |
1288 #> Attrib.setup (Binding.name "code") (Scan.lift code_attribute_parser) |
1288 #> Attrib.setup @{binding code} (Scan.lift code_attribute_parser) |
1289 "declare theorems for code generation" |
1289 "declare theorems for code generation" |
1290 end); |
1290 end); |
1291 |
1291 |
1292 end; (*struct*) |
1292 end; (*struct*) |
1293 |
1293 |