doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author haftmann
Thu, 25 Sep 2008 09:28:08 +0200
changeset 28350 715163ec93c0
parent 23850 f1434532a562
permissions -rw-r--r--
non left-linear equations for nbe

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)