[GHC] #11743: Add unicode support for special brackets (`{| |}` and `[| |]`)

#11743: Add unicode support for special brackets (`{| |}` and `[| |]`) -------------------------------------+------------------------------------- Reporter: JoshPrice247 | Owner: JoshPrice247 Type: feature | Status: new request | Priority: low | Milestone: Component: Compiler | Version: 7.10.3 (Parser) | Keywords: unicode, | Operating System: Unknown/Multiple UnicodeSyntax | Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: 2878, 10162 Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- 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 `(| |)` Banana brackets were then suggested in #10162 and implemented in Phab:D2012 (which has been accepted, but has not yet landed). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11743 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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

#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: | -------------------------------------+------------------------------------- Comment (by JoshPrice247): I would like suggestions on how to proceed with this. I have it implemented, but it depends on changes made in Phab:D2012. Do I need to wait until D2012 lands and then create a new differential? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11743#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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

#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): Phab:D2185 Wiki Page: | -------------------------------------+------------------------------------- Changes (by JoshPrice247): * differential: => Phab:D2185 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11743#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11743: Add unicode support for TH quotes (`[| |]`) -------------------------------------+------------------------------------- Reporter: JoshPrice247 | Owner: JoshPrice247 Type: feature request | Status: patch Priority: low | Milestone: 8.2.1 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): Phab:D2185 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => patch * related: 2878, 10162 => #2878, #10162 * milestone: => 8.2.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11743#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11743: Add unicode support for TH quotes (`[| |]`)
-------------------------------------+-------------------------------------
Reporter: JoshPrice247 | Owner: JoshPrice247
Type: feature request | Status: patch
Priority: low | Milestone: 8.2.1
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): Phab:D2185
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#11743: Add unicode support for TH quotes (`[| |]`) -------------------------------------+------------------------------------- Reporter: JoshPrice247 | Owner: JoshPrice247 Type: feature request | Status: closed Priority: low | Milestone: 8.2.1 Component: Compiler | Version: 7.10.3 (Parser) | Keywords: unicode, Resolution: fixed | 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): Phab:D2185 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11743#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC