doc-src/Codegen/Thy/examples/arbitrary.ML
author blanchet
Wed, 14 Dec 2011 23:08:03 +0100
changeset 45882 5d8a7fe36ce5
parent 30226 2f4684e2ea95
permissions -rw-r--r--
use new redirection algorithm in Sledgehammer

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)