doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author chaieb
Wed, 27 Feb 2008 14:39:48 +0100
changeset 26154 894f3860ebfd
parent 23850 f1434532a562
permissions -rw-r--r--
Installation of Quantifier elimination for ordered fields moved to Library/Dense_Linear_Order.thy

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)