doc-src/Codegen/Thy/examples/arbitrary.ML
author huffman
Sat, 22 May 2010 13:27:36 -0700
changeset 37082 a1fb7947dc2b
parent 30226 2f4684e2ea95
permissions -rw-r--r--
removed fixrec_simp attribute (cf. a2a1c8a658ef)

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)