doc-src/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Sun, 08 Mar 2009 15:01:10 +0100
changeset 30358 f7fea73b97a6
parent 30226 2f4684e2ea95
permissions -rw-r--r--
index_ML: removed spurious writeln introduced in 41ce4f5c97c9 -- it merely produces unreadable LaTeX sources;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)