ProgTutorial/output_tutorial.ML
changeset 315 de49d5780f57
parent 311 ee864694315b
child 316 74f0a06f751f
equal deleted inserted replaced
314:79202e2eab6a 315:de49d5780f57
    95   | boolean s = error ("Bad boolean value: " ^ quote s);
    95   | boolean s = error ("Bad boolean value: " ^ quote s);
    96 
    96 
    97 fun explicit "" = Default
    97 fun explicit "" = Default
    98   | explicit s  = Explicit s
    98   | explicit s  = Explicit s
    99 
    99 
       
   100 
   100 val _ = ThyOutput.add_options
   101 val _ = ThyOutput.add_options
   101  [("gray", Library.setmp gray o boolean),
   102  [("gray", Library.setmp gray o boolean),
   102   ("linenos", Library.setmp linenos o boolean),
   103   ("linenos", Library.setmp linenos o boolean),
   103   ("index", Library.setmp index o explicit)]
   104   ("index", Library.setmp index o explicit)]
   104 
   105