doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Mon, 14 Jul 2008 17:51:48 +0200
changeset 27579 97ce525f664c
parent 23850 f1434532a562
permissions -rw-r--r--
end_theory: no result;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)