doc-src/Codegen/Thy/examples/arbitrary.ML
author haftmann
Thu, 12 Mar 2009 23:01:25 +0100
changeset 30499 1a1a9ca977d6
parent 30226 2f4684e2ea95
permissions -rw-r--r--
merged

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)