doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
author haftmann
Thu, 19 Jul 2007 21:47:34 +0200
changeset 23850 f1434532a562
parent 21994 dfa5133dbe73
permissions -rw-r--r--
updated
     1 structure Codegen = 
     2 struct
     3 
     4 val arbitrary_option : 'a option = NONE;
     5 
     6 fun dummy_option [] = arbitrary_option
     7   | dummy_option (x :: xs) = SOME x;
     8 
     9 end; (*struct Codegen*)