doc-src/Codegen/Thy/examples/arbitrary.ML
author huffman
Wed, 03 Jun 2009 07:44:56 -0700
changeset 31413 729d90a531e4
parent 30226 2f4684e2ea95
permissions -rw-r--r--
introduce class topological_space as a superclass of metric_space

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)