doc-src/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Sat, 18 Jun 2011 14:48:56 +0200
changeset 43435 ae6b0c3e58a8
parent 30226 2f4684e2ea95
permissions -rw-r--r--
highlight via foreground painter, using alpha channel;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)