doc-src/Codegen/Thy/examples/arbitrary.ML
author nipkow
Tue, 20 Oct 2009 14:44:02 +0200
changeset 33019 bcf56a64ce1a
parent 30226 2f4684e2ea95
permissions -rw-r--r--
added Hilbert_Choice section

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)