src/Pure/Syntax/syntax.ML
changeset 24680 0d355aa59e67
parent 24613 bc889c3d55a3
child 24709 ecfb9dcb6c4c
equal deleted inserted replaced
24679:5b168969ffe0 24680:0d355aa59e67
   672 
   672 
   673 in
   673 in
   674 
   674 
   675 val check_typs = gen_check fst (op =);
   675 val check_typs = gen_check fst (op =);
   676 val check_terms = gen_check snd (op aconv);
   676 val check_terms = gen_check snd (op aconv);
   677 fun check_props ctxt = map (fn t => TypeInfer.constrain t propT) #> check_terms ctxt;
   677 fun check_props ctxt = map (TypeInfer.constrain propT) #> check_terms ctxt;
   678 
   678 
   679 val check_typ = singleton o check_typs;
   679 val check_typ = singleton o check_typs;
   680 val check_term = singleton o check_terms;
   680 val check_term = singleton o check_terms;
   681 val check_prop = singleton o check_props;
   681 val check_prop = singleton o check_props;
   682 
   682