doc-src/Codegen/Thy/examples/arbitrary.ML
author haftmann
Sun, 15 Apr 2012 20:41:46 +0200
changeset 47487 54a2f155621b
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*)