doc-src/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Sat, 17 Oct 2009 20:15:59 +0200
changeset 32975 84d105ad5adb
parent 30226 2f4684e2ea95
permissions -rw-r--r--
simplified tactics; use proper SUBGOAL/CSUBGOAL;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)