doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author urbanc
Fri, 02 May 2008 02:16:10 +0200
changeset 26763 fba4995cb0f9
parent 23850 f1434532a562
permissions -rw-r--r--
tuned some proofs and comments

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)