doc-src/Codegen/Thy/examples/arbitrary.ML
author blanchet
Fri, 14 May 2010 14:14:22 +0200
changeset 36913 0010f08e288e
parent 30226 2f4684e2ea95
permissions -rw-r--r--
improve precision of set constructs in Nitpick

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)