doc-src/Codegen/Thy/examples/arbitrary.ML
author bulwahn
Thu, 21 Oct 2010 19:13:09 +0200
changeset 40051 b6acda4d1c29
parent 30226 2f4684e2ea95
permissions -rw-r--r--
added generator_dseq compilation for a sound depth-limited compilation with small value generators

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)