doc-src/Codegen/Thy/examples/arbitrary.ML
author huffman
Wed, 17 Aug 2011 14:32:48 -0700
changeset 44256 c478cd500dc4
parent 30226 2f4684e2ea95
permissions -rw-r--r--
IsaMakefile: target HOLCF-Library now compiles HOL/HOLCF/Library instead of HOL/Library

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)