equal
deleted
inserted
replaced
172 (** evaluation **) |
172 (** evaluation **) |
173 |
173 |
174 structure Evaluation = Proof_Data |
174 structure Evaluation = Proof_Data |
175 ( |
175 ( |
176 type T = unit -> term |
176 type T = unit -> term |
177 (* FIXME avoid user error with non-user text *) |
177 fun init _ () = raise Fail "Evaluation" |
178 fun init _ () = error "Evaluation" |
|
179 ); |
178 ); |
180 val put_term = Evaluation.put; |
179 val put_term = Evaluation.put; |
181 val cookie = (Evaluation.get, put_term, "Code_Evaluation.put_term"); |
180 val cookie = (Evaluation.get, put_term, "Code_Evaluation.put_term"); |
182 |
181 |
183 fun mk_term_of t = HOLogic.mk_term_of (fastype_of t) t; |
182 fun mk_term_of t = HOLogic.mk_term_of (fastype_of t) t; |