doc-src/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Sat, 24 Oct 2009 17:49:44 +0200
changeset 33088 757d7787b10c
parent 30226 2f4684e2ea95
permissions -rw-r--r--
markup for formal entities, with "def" or "ref" occurrences;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)