doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Sat, 15 Sep 2007 19:26:17 +0200
changeset 24582 57599da58045
parent 23850 f1434532a562
permissions -rw-r--r--
ML_Lex.keywords; tuned comments;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)