darcs patch: Add liftField and maybeField to ParseUti... (and 1 more)

Bertram Felgenhauer bertram.felgenhauer at googlemail.com
Sun Jul 16 14:06:36 EDT 2006


The following two patches add the possibility to install hidden packages.

The first one adds functionality to convert between StanzaFields of different
types and uses that to simplify the parsing and pretty printing code for
package descriptions. The patch should not change the behaviour in any way.

The second patch is quite simple and just adds a flag. It would be much more
involved without the first patch.

What do you think?

regards,

Bertram

Sun Jul 16 19:26:06 CEST 2006  Bertram Felgenhauer <int-e at gmx.de>
  * Add liftField and maybeField to ParseUtils and use them to simplify PackageDescription.
  This gets rid of the special handling of 'exposed-modules' and simplifies
  some pretty printing and parsing code. It'll make adding new library fields
  much easier.

Sun Jul 16 19:35:08 CEST 2006  Bertram Felgenhauer <int-e at gmx.de>
  * Add 'exposed' library field to allow installing hidden packages.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 19463 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org//pipermail/cabal-devel/attachments/20060716/eb26e439/attachment.bin


More information about the cabal-devel mailing list