doc-src/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Fri, 06 Mar 2009 22:50:30 +0100
changeset 30320 5f859035331f
parent 30226 2f4684e2ea95
permissions -rw-r--r--
eliminated Output.immediate_output -- violates the official message channel protocol;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)