doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author krauss
Thu, 17 May 2007 22:33:41 +0200
changeset 22999 c1ce129e6f9c
parent 21994 dfa5133dbe73
child 23850 f1434532a562
permissions -rw-r--r--
Added unification case study (using new function package)

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*)