doc-src/Codegen/Thy/examples/arbitrary.ML
author haftmann
Wed, 07 Oct 2009 14:01:26 +0200
changeset 32887 85e7ab9020ba
parent 30226 2f4684e2ea95
permissions -rw-r--r--
added bot_boolE, top_boolI

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)