doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author haftmann
Mon, 23 Feb 2009 21:38:36 +0100
changeset 30076 f3043dafef5f
parent 23850 f1434532a562
permissions -rw-r--r--
improved treatment of case certificates

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)