doc-src/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Tue, 24 Aug 2010 21:34:38 +0200
changeset 38661 f1ba2ae8e58a
parent 30226 2f4684e2ea95
permissions -rw-r--r--
Markup_Tree.+: new info tends to sink to bottom, where it is prefered by select;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)