Why are nested brackets disallowed?
Richard Eisenberg
rae at cs.brynmawr.edu
Thu Jan 24 17:46:41 UTC 2019
I think Geoff was primarily concerned with typed Template Haskell, not the untyped variety.
I, too, have wondered if there was a technical reason behind this restriction, or if merely it was assumed that nested brackets were not worthwhile.
One question: how would staging work between nesting levels of brackets?
Richard
> On Jan 24, 2019, at 12:42 PM, Ben Gamari <ben at smart-cactus.org> wrote:
>
> Matthew Pickering <matthewtpickering at gmail.com> writes:
>
>> There is a check in `RnSplice` which errors on the following program
>> with nested brackets.
>>
> It might be good to explicitly include Geoff Mainland in this thread.
> I'm not sure he'll see it otherwise.
>
> Cheers,
>
> - Ben
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
More information about the ghc-devs
mailing list