doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author haftmann
Fri, 24 Aug 2007 14:14:17 +0200
changeset 24421 acfb2413faa3
parent 23850 f1434532a562
permissions -rw-r--r--
updated

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)