doc-src/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Mon, 04 Jul 2011 22:11:32 +0200
changeset 43661 39fdbd814c7f
parent 30226 2f4684e2ea95
permissions -rw-r--r--
quasi-static Isabelle_System -- reduced tendency towards "functorial style";

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)