doc-src/Codegen/Thy/examples/arbitrary.ML
author bulwahn
Thu, 12 Nov 2009 20:38:57 +0100
changeset 33649 854173fcd21c
parent 30226 2f4684e2ea95
permissions -rw-r--r--
added a tabled implementation of the reflexive transitive closure

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)