doc-src/Codegen/Thy/examples/arbitrary.ML
author boehmes
Wed, 02 Sep 2009 21:34:13 +0200
changeset 32500 7106aeb6dd64
parent 30226 2f4684e2ea95
permissions -rw-r--r--
merged

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)