doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Mon, 02 Jun 2008 21:01:42 +0200
changeset 27035 d038a2ba87f6
parent 23850 f1434532a562
permissions -rw-r--r--
renamed theory "intro" to "Introduction";

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)