doc-src/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Sat, 06 Feb 2010 22:06:18 +0100
changeset 35016 c0f2e49bccfc
parent 30226 2f4684e2ea95
permissions -rw-r--r--
result: Single_Assignment.var;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)