doc-src/IsarAdvanced/Codegen/Thy/examples/arbitrary.ML
changeset 30242 aea5d7fa7ef5
parent 30241 3a1aef73b2b2
parent 30236 e70dae49dc57
child 30244 48543b307e99
child 30251 7aec011818e0
child 30257 06b2d7f9f64b
equal deleted inserted replaced
30241:3a1aef73b2b2 30242:aea5d7fa7ef5
     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*)