doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Sun, 29 Jul 2007 14:29:57 +0200
changeset 24041 d5845b7c1a24
parent 23850 f1434532a562
permissions -rw-r--r--
metis_tac: proper context (ProofContext.init it *not* sufficient); simplified method setup;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)