doc-src/Codegen/Thy/examples/arbitrary.ML
author blanchet
Thu, 24 Mar 2011 17:56:59 +0100
changeset 42108 f55562e77d5c
parent 30226 2f4684e2ea95
permissions -rw-r--r--
add "-?" to "nitrox" tool

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)