doc-src/Codegen/Thy/examples/arbitrary.ML
author nipkow
Thu, 20 Oct 2011 10:44:00 +0200
changeset 45217 c4fab1099cd0
parent 30226 2f4684e2ea95
permissions -rw-r--r--
merged

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)