Cabal File Pretty Printer
johan.tibell at gmail.com
Sat Mar 1 15:13:02 UTC 2014
On Sat, Mar 1, 2014 at 4:12 PM, Daniel Trstenjak <daniel.trstenjak at gmail.com
> On Sat, Mar 01, 2014 at 01:58:14PM +0100, Daniel Trstenjak wrote:
> > is there a reason why the function 'fieldGet' of 'FieldDescr' in
> > 'Distribution.ParseUtils' formats only the contents of the field
> > and not also the field name?
> > Having the field 'build-type: Simple', then 'fieldGet' only formats
> > the part 'Simple' and the 'build-type: ' part is formated in
> > 'Distribution.PackageDescription.PrettyPrint'.
> > This makes it harder to give certain fields a nesting without special
> > casing in 'Distribution.PackageDescription.PrettyPrint'.
> > If the complete field would be formated by 'fieldGet', then nesting
> > could be nicely integrated into the 'listField' and 'commaListField'
> > functions of 'Distribution.ParseUtils'.
> I have now created a pull request for this change on github.
> Is github the right place for doing this for cabal?
GitHub is the right place.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cabal-devel