doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Mon, 16 Jun 2008 17:54:43 +0200
changeset 27230 c0103bc7f7eb
parent 23850 f1434532a562
permissions -rw-r--r--
RuleInsts.read_instantiate;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)