doc-src/Codegen/Thy/examples/arbitrary.ML
author bulwahn
Fri, 03 Dec 2010 08:40:47 +0100
changeset 40924 a9be7f26b4e6
parent 30226 2f4684e2ea95
permissions -rw-r--r--
adapting predicate_compile_quickcheck

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)