[Haskell-cafe] Proposal: Shorter Import Syntax

Brandon Allbery allbery.b at gmail.com
Thu Jun 4 21:41:38 UTC 2015


On Thu, Jun 4, 2015 at 5:36 PM, Anthony Cowley <acowley at seas.upenn.edu>
wrote:
>
> > On Jun 4, 2015, at 5:22 PM, Herbert Valerio Riedel <hvr at gnu.org> wrote:
> > new syntax, Cabal has no way to know that a new language syntax is
> > required and that thereby needs exclude (not implemented yet) the
> > affected package versions from the install-plan configuration space.
>
> I can't parse your last sentence. The proposed syntax is currently a parse
> error, so a package that used it could depend on a GHC new enough to
> support it (eg with a base version constraint). No older packages would
> cause any errors whatsoever.
>

Your unstated assumption is that everyone always has the latest ghc.

How do people who are on, say, Debian or CentOS, deal with a language
change that is not compatible with their compiler? How does cabal avoid
pulling in package versions using the new incompatible syntax?

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150604/1a8dd3c2/attachment.html>


More information about the Haskell-Cafe mailing list