doc-src/Codegen/Thy/examples/arbitrary.ML
author haftmann
Fri, 26 Aug 2011 23:02:00 +0200
changeset 44556 c0fd385a41f4
parent 30226 2f4684e2ea95
permissions -rw-r--r--
adapted to changes in Cset.thy

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)