doc-src/Codegen/Thy/examples/arbitrary.ML
author berghofe
Sun, 10 Jan 2010 18:03:20 +0100
changeset 34908 d546e75631bb
parent 30226 2f4684e2ea95
permissions -rw-r--r--
Added setup for simplification of equality constraints in induction rules.

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)