doc-src/Codegen/Thy/examples/arbitrary.ML
changeset 48281 6659c5913ebf
parent 48280 7d86239986c2
child 48282 39bfb2844b9e
equal deleted inserted replaced
48280:7d86239986c2 48281:6659c5913ebf
     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*)