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

2010-11-15 Thread Michael Snoyman
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
simo...@microsoft.com wrote:
 Good point. I've done this. (Ian, could you merge)

 Fri Nov 12 08:30:52 GMT 2010  simo...@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-boun...@haskell.org 
 [mailto:haskell-cafe-boun...@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.7C7C.5D_-.3E_.5Bfoo.7C7C.5D
 | ___
 | Haskell-Cafe mailing list
 | Haskell-Cafe@haskell.org
 | http://www.haskell.org/mailman/listinfo/haskell-cafe


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2010-11-12 Thread Simon Peyton-Jones
Good point. I've done this. (Ian, could you merge)

Fri Nov 12 08:30:52 GMT 2010  simo...@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-boun...@haskell.org 
[mailto:haskell-cafe-boun...@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.7C7C.5D_-.3E_.5Bfoo.7C7C.5D
| ___
| Haskell-Cafe mailing list
| Haskell-Cafe@haskell.org
| http://www.haskell.org/mailman/listinfo/haskell-cafe

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2010-11-12 Thread Michael Snoyman
Thank you very much. I was dreading the thought of figuring out some
CPP hack to accomplish this, and applying it across my codebase. Much
appreciated!

MIchael

On Fri, Nov 12, 2010 at 10:38 AM, Simon Peyton-Jones
simo...@microsoft.com wrote:
 Good point. I've done this. (Ian, could you merge)

 Fri Nov 12 08:30:52 GMT 2010  simo...@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-boun...@haskell.org 
 [mailto:haskell-cafe-boun...@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.7C7C.5D_-.3E_.5Bfoo.7C7C.5D
 | ___
 | Haskell-Cafe mailing list
 | Haskell-Cafe@haskell.org
 | http://www.haskell.org/mailman/listinfo/haskell-cafe


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2010-11-12 Thread Nicolas Pouillard
On Fri, 12 Nov 2010 08:38:24 +, Simon Peyton-Jones simo...@microsoft.com 
wrote:
 Good point. I've done this. (Ian, could you merge)

Thank you very much for this! I was afraid to see so much code broken as well
as Michael.

Best regards,

-- 
Nicolas Pouillard
http://nicolaspouillard.fr
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe