doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Thu, 13 Nov 2008 22:45:12 +0100
changeset 28788 ff9d8a8932e4
parent 23850 f1434532a562
permissions -rw-r--r--
updated generated files;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)