Skip to content
  • Simon Peyton Jones's avatar
    Revive 'mdo' expressions, per discussion in Trac #4148 · 4f8e86b4
    Simon Peyton Jones authored
    Summary:
      - mdo expressions are enabled by RecursiveDo pragma
    
      - mdo expressions perform full segmentation
    
      - 'rec' groups inside 'do' are changed so they do *not*
        perform any segmentation.
    
      - Both 'mdo' and 'rec' are enabled by 'RecursiveDo'
        'DoRec' is deprecated in favour of 'RecursiveDo'
        (The 'rec' keyword is also enabled by 'Arrows', as now.)
    
    Thanks to Levent for doing all the work
    4f8e86b4