doc-src/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Sat, 05 Feb 2011 18:09:57 +0100
changeset 41710 11ae688e4e30
parent 30226 2f4684e2ea95
permissions -rw-r--r--
clarified bootstrapping of structure TimeLimit;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)