add FastString.string_table to CoreMonad.reinitializeGlobals?

Nicolas Frisby nicolas.frisby at gmail.com
Thu Jul 4 06:30:43 CEST 2013


FYI — I just pushed this; validation went through, and a simple test of the
new functionality succeeds.

I put a verbose comment in Note [Initializing globals] in CoreMonad.

commit 163de25813d12764aa5ded1666af7c06fee0d67e
Author: Nicolas Frisby <nicolas.frisby at gmail.com>
Date:   Wed Jul 3 18:23:54 2013 -0500

    include FastString.string_table in CoreMonad.reinitializeGlobals



On Wed, Jul 3, 2013 at 2:26 PM, Simon Peyton-Jones <simonpj at microsoft.com>wrote:

>  Nick****
>
> ** **
>
> Reading your (excellent) reply to Joachim, that would be an excellent
> thing to do.****
>
> ** **
>
> Please comment it copiously with a concrete example (a la Joachim).****
>
> ** **
>
> Simon****
>
> ** **
>
> *From:* ghc-devs-bounces at haskell.org [mailto:ghc-devs-bounces at haskell.org]
> *On Behalf Of *Nicolas Frisby
> *Sent:* 03 July 2013 20:22
> *To:* ghc-devs at haskell.org
> *Subject:* add FastString.string_table to CoreMonad.reinitializeGlobals?**
> **
>
> ** **
>
> Was the FastString Table intentionally left out of the reinitializeGlobals
>  mechanism?****
>
> ** **
>
> This has lead to some confusion in using pieces of the front-end within
> GHC plugins. ****
>
> ** **
>
> Is there foreseeable harm in adding it? I've done so locally, and minimal
> testing seems fine.****
>
> ** **
>
> Thanks.****
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130703/3e950e80/attachment.htm>


More information about the ghc-devs mailing list