src/HOL/Tools/transfer_data.ML
changeset 32475 0d7e8d858b44
parent 31794 71af1fd6a5e4
equal deleted inserted replaced
32394:e8feef03a93f 32475:0d7e8d858b44
   221 val install_att_syntax =
   221 val install_att_syntax =
   222   (Scan.lift (Args.$$$ delN >> K del) ||
   222   (Scan.lift (Args.$$$ delN >> K del) ||
   223     transf_add
   223     transf_add
   224     >> (fn (((((g, inj), embed), ret), cg), hints) => add (inj, embed, ret, cg, g, hints)))
   224     >> (fn (((((g, inj), embed), ret), cg), hints) => add (inj, embed, ret, cg, g, hints)))
   225 
   225 
   226 val transferred_att_syntax = (optional names -- Scan.option (keywordC directionN |-- (Args.term -- Args.term)) -- optional (keywordC leavingN |-- names) >> (fn ((hints, aD),leave) => transferred_attribute hints aD leave));
   226 val transferred_att_syntax = (optional names -- Scan.option (keywordC directionN |-- (Args.term -- Args.term))
       
   227   -- optional (keywordC leavingN |-- names) >> (fn ((hints, aD),leave) => transferred_attribute hints aD leave));
   227 
   228 
   228 end;
   229 end;
   229 
   230 
   230 
   231 
   231 (* theory setup *)
   232 (* theory setup *)