doc-src/Codegen/Thy/examples/arbitrary.ML
author himmelma
Thu, 28 May 2009 13:56:50 +0200
changeset 31278 60a53b5af39c
parent 30226 2f4684e2ea95
permissions -rw-r--r--
Added Convex_Euclidean_Space to Library.thy and Library/IsaMakefile

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)