On Fri, 2008-12-12 at 11:50 -0800, Ian Lynagh wrote:
> Fri Dec 12 10:36:22 PST 2008  Ian Lynagh <ig...@earth.li>
>   * Fix Show/Read for License
>   We were ending up with things like
>       InstalledPackageInfo {
>           ...
>           license = LGPL Nothing,
>           ...
>       }
>   i.e. "LGPL Nothing" rather than "LGPL", which we couldn't then read.

I'd like to revert this patch. The serialisation format of
InstalledPackageInfo is defined by the Read/Show instance of the types.
GHC uses it's own faster parser but that just means it has to keep up,
not that we fix the format for all time.

It really should be LGPL Nothing because there is now an optional
version number on that license (and GPL).

Either we revert support for versioned licenses or we make GHC's parser
catch up. This half-way house is not workable (it looses information in
a read . show round trip).

Duncan

_______________________________________________
cabal-devel mailing list
cabal-devel@haskell.org
http://www.haskell.org/mailman/listinfo/cabal-devel

Reply via email to