doc-src/Codegen/Thy/examples/arbitrary.ML
author haftmann
Fri, 02 Mar 2012 18:26:54 +0100
changeset 46765 07f9eda810b3
parent 30226 2f4684e2ea95
permissions -rw-r--r--
tuned whitespace

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)