doc-src/Codegen/Thy/examples/arbitrary.ML
changeset 30209 2f4684e2ea95
parent 23850 f1434532a562
equal deleted inserted replaced
30202:2775062fd3a9 30209:2f4684e2ea95
       
     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*)