doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Thu, 09 Oct 2008 20:53:24 +0200
changeset 28555 d59712ee942c
parent 23850 f1434532a562
permissions -rw-r--r--
added enabled; removed pseudo-parallel version of profile -- CRITICAL prevents future join;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)