doc-src/Codegen/Thy/examples/arbitrary.ML
author haftmann
Wed, 23 Dec 2009 08:31:15 +0100
changeset 34173 458ced35abb8
parent 30226 2f4684e2ea95
permissions -rw-r--r--
reduced code generator cache to the baremost minimum

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)