• Daniel Trstenjak's avatar
    More diff friendly pretty printing of cabal files · e8d5ea25
    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.
    e8d5ea25
PrettyPrint.hs 10.3 KB