doc-src/Codegen/Thy/examples/arbitrary.ML
author haftmann
Wed, 13 Jan 2010 08:56:16 +0100
changeset 34887 31209fb24176
parent 30226 2f4684e2ea95
permissions -rw-r--r--
deactivate pretty code test for Scala -- no proper setup yet

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)