[Haskell-cafe] [: Where the bracket things are? :]

Robert Greayer robgreayer at gmail.com
Mon Jun 29 16:58:24 EDT 2009

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.
> Cheers,
> Paul
> _______________________________________________
> 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