doc-src/Codegen/Thy/examples/arbitrary.ML
author bulwahn
Fri, 20 Jan 2012 09:28:50 +0100
changeset 46305 8ea02e499d53
parent 30226 2f4684e2ea95
permissions -rw-r--r--
adding check_all instance for sets; tuned

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)