doc-src/Codegen/Thy/examples/arbitrary.ML
author blanchet
Sun, 25 Apr 2010 11:38:46 +0200
changeset 36393 be73a2b2443b
parent 30226 2f4684e2ea95
permissions -rw-r--r--
support readable names even when Isar proof reconstruction is enabled -- useful for debugging

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)