doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author haftmann
Wed, 02 Jan 2008 15:14:27 +0100
changeset 25771 a81c0ad97133
parent 23850 f1434532a562
permissions -rw-r--r--
empty dictionaries for OCaml

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)