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

Michael Snoyman michael at snoyman.com
Fri Nov 12 05:34:39 EST 2010


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
<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 Haskell-Cafe mailing list