doc-src/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Wed, 24 Jun 2009 21:46:54 +0200
changeset 31795 be3e1cc5005c
parent 30226 2f4684e2ea95
permissions -rw-r--r--
standard naming conventions for session and theories;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)