doc-src/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Wed, 22 Jun 2011 16:32:36 +0200
changeset 43506 bf7400573617
parent 30226 2f4684e2ea95
permissions -rw-r--r--
updated to jedit-4.4.1 and jedit_build-20110622;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)