doc-src/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Sat, 15 May 2010 22:24:25 +0200
changeset 36949 080e85d46108
parent 30226 2f4684e2ea95
permissions -rw-r--r--
renamed structure OuterKeyword to Keyword and OuterParse to Parse, keeping the old names as legacy aliases for some time;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)