src/Tools/Code/code_runtime.ML
changeset 59151 a012574b78e7
parent 59150 71b416020f42
child 59155 a9a5ddfc2aad
equal deleted inserted replaced
59150:71b416020f42 59151:a012574b78e7
   158 (* evaluation for truth or nothing *)
   158 (* evaluation for truth or nothing *)
   159 
   159 
   160 structure Truth_Result = Proof_Data
   160 structure Truth_Result = Proof_Data
   161 (
   161 (
   162   type T = unit -> truth
   162   type T = unit -> truth
   163   (* FIXME avoid user error with non-user text *)
   163   fun init _ () = raise Fail "Truth_Result"
   164   fun init _ () = error "Truth_Result"
       
   165 );
   164 );
   166 val put_truth = Truth_Result.put;
   165 val put_truth = Truth_Result.put;
   167 val truth_cookie = (Truth_Result.get, put_truth, Long_Name.append this "put_truth");
   166 val truth_cookie = (Truth_Result.get, put_truth, Long_Name.append this "put_truth");
   168 
   167 
   169 local
   168 local