doc-src/Codegen/Thy/examples/arbitrary.ML
author huffman
Fri, 19 Aug 2011 18:42:41 -0700
changeset 44319 806e0390de53
parent 30226 2f4684e2ea95
permissions -rw-r--r--
move sin_coeff and cos_coeff lemmas to Transcendental.thy; simplify some proofs

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)