doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author paulson
Tue, 28 Nov 2006 16:19:01 +0100
changeset 21573 8a7a68c0096c
parent 21190 08ec81dfc7fb
child 21993 4b802a9e0738
permissions -rw-r--r--
Removed the references for counting combinators. Instead they are counted in actual clauses.

structure ROOT = 
struct

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)

end; (*struct ROOT*)