doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Thu, 19 Jul 2007 23:18:46 +0200
changeset 23862 b1861768d8f4
parent 23850 f1434532a562
permissions -rw-r--r--
tuned;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)