doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author krauss
Mon, 16 Jul 2007 21:39:56 +0200
changeset 23821 2acd9d79d855
parent 21994 dfa5133dbe73
child 23850 f1434532a562
permissions -rw-r--r--
use function package

structure ROOT = 
struct

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)

end; (*struct ROOT*)