doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author berghofe
Fri, 20 Apr 2007 16:11:17 +0200
changeset 22755 e268f608669a
parent 21994 dfa5133dbe73
child 23850 f1434532a562
permissions -rw-r--r--
Modified eqvt_tac to avoid failure due to introduction rules whose premises contain variables that do not occur in the conclusion.

structure ROOT = 
struct

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

fun dummy_option [] = arbitrary_option
  | dummy_option (x :: xs) = SOME x;

end; (*struct Codegen*)

end; (*struct ROOT*)