[Haskell-cafe] Quasiquoter invocation no longer requires/allows a leading dollar sign.

Simon Peyton-Jones simonpj at microsoft.com
Tue Nov 16 03:03:42 EST 2010


| I'm guessing this did *not* make it into 7.0.1, correct? Is there
| still a chance that it will be in 7.0.2, and therefore the next HP
| release?

Oh bother!  That's probably my fault: I probably didn't ask Ian to merge it to the branch.

Ian: could you merge this to the branch, pls?  It programs that are rejected by HEAD, so I think it's acceptable to push it into a patch release.

Fri Nov 12 08:30:52 GMT 2010  simonpj at microsoft.com
  * Allow the old [$foo| ... |] syntax for quasi-quotes
  
  This is just a backward-compatibility thing, to be removed
  eventually.

    M ./compiler/parser/Lexer.x +4
    M ./compiler/typecheck/TcSplice.lhs -1 +17


Simon
| -----Original Message-----
| From: michael.snoyman at gmail.com [mailto:michael.snoyman at gmail.com] On Behalf Of
| Michael Snoyman
| Sent: 16 November 2010 07:37
| To: Simon Peyton-Jones
| Cc: Haskell Cafe
| Subject: Re: [Haskell-cafe] Quasiquoter invocation no longer requires/allows a
| leading dollar sign.
| 
| I'm guessing this did *not* make it into 7.0.1, correct? Is there
| still a chance that it will be in 7.0.2, and therefore the next HP
| release?
| 
| Michael
| 
| On Fri, Nov 12, 2010 at 10:38 AM, Simon Peyton-Jones
| <simonpj at microsoft.com> wrote:
| > Good point. I've done this. (Ian, could you merge)
| >
| > Fri Nov 12 08:30:52 GMT 2010  simonpj at microsoft.com
| >  * Allow the old [$foo| ... |] syntax for quasi-quotes
| >
| >  This is just a backward-compatibility thing, to be removed
| >  eventually.
| >
| > Simon
| >
| > | -----Original Message-----
| > | From: haskell-cafe-bounces at haskell.org [mailto:haskell-cafe-bounces at haskell.org]
| On
| > | Behalf Of Michael Snoyman
| > | Sent: 11 November 2010 22:08
| > | To: Haskell Cafe
| > | Subject: [Haskell-cafe] Quasiquoter invocation no longer requires/allows a
| leading
| > | dollar sign.
| > |
| > | Sorry, maybe I missed the memo on this one, but I just noticed this
| > | change to quasi-quotation syntax on the GHC 7 upgrade page[1]. So if
| > | GHC 6.12 *requires* the dollar sign, and GHC 7 *rejects* the dollar
| > | sign, is there any way to write code that will run on both? Is there a
| > | reason we can't keep the dollar sign as supported syntax for a release
| > | or two to make for a cleaner migration?
| > |
| > | Michael
| > |
| > | [1]
| > |
| http://haskell.org/haskellwiki/Upgrading_packages/Updating_to_GHC_7#Quasiquotation:_.
| > | 5B.24foo.7C....7C.5D_-.3E_.5Bfoo.7C....7C.5D
| > | _______________________________________________
| > | Haskell-Cafe mailing list
| > | Haskell-Cafe at haskell.org
| > | http://www.haskell.org/mailman/listinfo/haskell-cafe
| >
| >



More information about the Cvs-ghc mailing list