doc-src/Codegen/Thy/examples/arbitrary.ML
author huffman
Fri, 12 Jun 2009 16:23:07 -0700
changeset 31590 776d6a4c1327
parent 30226 2f4684e2ea95
permissions -rw-r--r--
declare inner_add, inner_diff [algebra_simps]; declare inner_scaleR [simp]

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)