doc-src/Codegen/Thy/examples/arbitrary.ML
author blanchet
Wed, 17 Mar 2010 12:21:54 +0100
changeset 35809 1ed86128316c
parent 30226 2f4684e2ea95
permissions -rw-r--r--
document "nitpick_choice_spec" attribute

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)