doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Tue, 03 Mar 2009 14:08:53 +0100
changeset 30212 4b35b0f85b42
parent 23850 f1434532a562
permissions -rw-r--r--
merged

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)