doc-src/Codegen/Thy/examples/arbitrary.ML
author huffman
Tue, 12 Oct 2010 06:20:05 -0700
changeset 40006 116e94f9543b
parent 30226 2f4684e2ea95
permissions -rw-r--r--
remove unneeded lemmas from Fun_Cpo.thy

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)