doc-src/Codegen/Thy/examples/arbitrary.ML
author haftmann
Thu, 08 Oct 2009 15:59:16 +0200
changeset 32894 cdd7800de437
parent 30226 2f4684e2ea95
permissions -rw-r--r--
moved labelled_name to code_thingol

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)