doc-src/Codegen/Thy/examples/arbitrary.ML
author kuncar
Fri, 20 Apr 2012 18:29:21 +0200
changeset 47634 091bcd569441
parent 30226 2f4684e2ea95
permissions -rw-r--r--
hide the invariant constant for relators: invariant_commute infrastracture

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)