doc-src/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Wed, 29 Dec 2010 13:51:17 +0100
changeset 41412 35f30e07fe0d
parent 30226 2f4684e2ea95
permissions -rw-r--r--
check_file: secondary load path is legacy feature;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)