
#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: @@ -14,2 +14,1 @@ - in #10162 and implemented in Phab:D2012 (which has been accepted, but has - not yet landed), leaving TH quotes. + in #10162 and implemented in Phab:D2012, 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, leaving TH quotes. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11743#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler