doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author urbanc
Thu, 13 Sep 2007 23:58:38 +0200
changeset 24571 a6d0428dea8e
parent 23850 f1434532a562
permissions -rw-r--r--
some cleaning up to do with contexts

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)