[GHC] #11743: Add unicode support for TH quotes (`[| |]`) (was: Add unicode support for special brackets (`{| |}` and `[| |]`))
GHC
ghc-devs at haskell.org
Wed Mar 23 01:33:03 UTC 2016
#11743: Add unicode support for TH quotes (`[| |]`)
-------------------------------------+-------------------------------------
Reporter: JoshPrice247 | Owner: JoshPrice247
Type: feature request | Status: new
Priority: low | Milestone:
Component: Compiler | Version: 7.10.3
(Parser) | Keywords: unicode,
Resolution: | UnicodeSyntax
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: 2878, 10162 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Description changed by JoshPrice247:
@@ -13,2 +13,3 @@
- Banana brackets were then suggested in #10162 and implemented in
- Phab:D2012 (which has been accepted, but has not yet landed).
+ Generic classes have since been removed and banana brackets were suggested
+ in #10162 and implemented in Phab:D2012 (which has been accepted, but has
+ not yet landed), leaving TH quotes.
New description:
This has been mentioned before but didn't have it's own ticket.
The following where mentioned in #2978, but the respective patch did not
include them:
* For TemplateHaskell: `⟦ ⟧` (MATHEMATICAL _ WHITE SQUARE BRACKET) can be
used instead of `[| |]`
* For Generics: `⦃ ⦄` (_ WHITE CURLY BRACKET) can be used instead of `{|
|}`
* For Arrows: `⦇ ⦈` (Z NOTATION _ IMAGE BRACKET) can be used instead of
`(| |)`
Generic classes have since been removed and banana brackets were suggested
in #10162 and implemented in Phab:D2012 (which has been accepted, but has
not yet landed), leaving TH quotes.
--
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11743#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list