doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author berghofe
Thu, 03 Jul 2008 00:56:45 +0200
changeset 27450 d45d2850aaed
parent 23850 f1434532a562
permissions -rw-r--r--
Replaced all but one occurrence of perm_simp_tac by perm_simproc_app, since perm_simp_tac now behaves in a different way (due to changes in swap_simps).

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)