doc-src/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Sat, 17 Sep 2011 19:55:32 +0200
changeset 44956 01a1b3b3341f
parent 30226 2f4684e2ea95
permissions -rw-r--r--
raised default log level -- to avoid confusing warning about scala.tools.nsc.plugins.Plugin, which is mistaken as jEdit plugin;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)