src/HOLCF/Tools/Domain/domain_syntax.ML
changeset 35262 9ea4445d2ccf
parent 35258 8154c5211ddb
child 35444 73f645fdd4ff
equal deleted inserted replaced
35261:40c37da7af54 35262:9ea4445d2ccf
   112     val const_take   = (dbind "_take"  , HOLogic.natT-->dtype->>dtype, NoSyn);
   112     val const_take   = (dbind "_take"  , HOLogic.natT-->dtype->>dtype, NoSyn);
   113     val const_finite = (dbind "_finite", dtype-->HOLogic.boolT       , NoSyn);
   113     val const_finite = (dbind "_finite", dtype-->HOLogic.boolT       , NoSyn);
   114 
   114 
   115 (* ----- case translation --------------------------------------------------- *)
   115 (* ----- case translation --------------------------------------------------- *)
   116 
   116 
   117     fun syntax b = Syntax.constN ^ Sign.full_bname thy b;
   117     fun syntax b = Syntax.mark_const (Sign.full_bname thy b);
   118 
   118 
   119     local open Syntax in
   119     local open Syntax in
   120     local
   120     local
   121       fun c_ast authentic con = Constant ((authentic ? syntax) (Binding.name_of con));
   121       fun c_ast authentic con = Constant ((authentic ? syntax) (Binding.name_of con));
   122       fun expvar n = Variable ("e" ^ string_of_int n);
   122       fun expvar n = Variable ("e" ^ string_of_int n);