doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Thu, 14 Jun 2007 23:04:40 +0200
changeset 23395 15fb6637690e
parent 21994 dfa5133dbe73
child 23850 f1434532a562
permissions -rw-r--r--
method assumption: uniform treatment of prems as legacy feature;

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