doc-src/Codegen/Thy/examples/arbitrary.ML
author wenzelm
Tue, 01 Jun 2010 17:27:38 +0200
changeset 37241 04d2521e79b0
parent 30226 2f4684e2ea95
permissions -rw-r--r--
basic support for sub/superscript token markup -- NB: need to maintain extended token types eagerly, since jEdit occasionally reinstalls a style array that is too short;

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

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

end; (*struct Codegen*)