doc-src/Codegen/Thy/examples/arbitrary.ML
author krauss
Mon, 01 Mar 2010 18:49:55 +0100
changeset 35439 888993948a1d
parent 30226 2f4684e2ea95
permissions -rw-r--r--
tuned comment

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)