• Daniel Trstenjak's avatar
    More diff friendly pretty printing of cabal files · 1ecd69c7
    Daniel Trstenjak authored
    Added the new field constructor functions 'listFieldWithSep'
    and 'commaListFieldWithSep' to be able to define pretty printing
    for fields, where each value of the field is positioned on a new line.
    
    Which fields are nested is currently hard coded in the 'ppField' function.
    
    (cherry picked from commit e8d5ea25)
    1ecd69c7
PrettyPrint.hs 10.3 KB