[Haskell-cafe] [: Where the bracket things are? :]
noteed at gmail.com
Tue Jun 30 03:00:35 EDT 2009
But it won't help to get the knowledge of GHC's internal he was after...
2009/6/29 Robert Greayer <robgreayer at gmail.com>:
> You can use QuasiQuotation, where your bracketing syntax looks like:
> [$foo| blah blah blah |]
> and 'foo' represents a quasi-quoter, and the stuff inside the brackets
> is any arbitrary syntax recognized by it.
> On Mon, Jun 29, 2009 at 4:51 PM, Paul Keir<pkeir at dcs.gla.ac.uk> wrote:
>> I'd like to add my own custom list delimiters to ghc; such as the [: and :]
>> of Data Parallel Haskell. The purpose is mainly to learn a little about
>> GHC's internals.
>> Any suggestions on the GHC files I should look at first? Alternatively,
>> maybe this is actually possible from outside the compiler.
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe