#155: show . readPackageDescription /= id
----------------------------------------+-----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nominolo
Type: defect | Status: assigned
Priority: normal | Milestone:
Component: Cabal | Version: HEAD
Severity: normal | Resolution:
Keywords: | Difficulty: normal
Ghcversion: 6.6 | Platform: Linux
----------------------------------------+-----------------------------------
Changes (by nominolo):
* status: new => assigned
Comment:
Well, first of all, we didn't have that property before. The counterpart
to {{{show}}} is {{{read}}}, not {{{readFoo}}}. We did however have the
property:
{{{
prop_idempParsePrint x = (r . s . r) x == r x
where r = readPackageDescription; s = showPackageDescription
}}}
I agree that this would be nice to have, though.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/155#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
_______________________________________________
cabal-devel mailing list
cabal-devel@haskell.org
http://www.haskell.org/mailman/listinfo/cabal-devel