doc-src/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Fri, 06 Apr 2012 12:02:24 +0200
changeset 47347 af937661e4a1
parent 30226 2f4684e2ea95
permissions -rw-r--r--
stop node execution at first unassigned exec;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)