[GHC] #10162: Add unicode syntax for banana brackets
GHC
ghc-devs at haskell.org
Mon Mar 16 15:02:32 UTC 2015
#10162: Add unicode syntax for banana brackets
-------------------------------------+-------------------------------------
Reporter: zardoz | Owner:
Type: feature | Status: new
request | Milestone:
Priority: low | Version: 7.8.4
Component: Compiler | Operating System: Unknown/Multiple
Keywords: | Type of failure: None/Unknown
Architecture: | Blocked By:
Unknown/Multiple | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
While there is a “pretty” unicode alternative available for “-<“ within
arrow notation (⤙), banana brackets can only be written as “(|” and “|)”,
which is a bit of an eyesore when they are used in the middle of the fancy
arrow glyphs.
Maybe it would be convenient to add the following unicode alternatives,
which to the best of my knowledge are mapped by default within the
XCompose definitions shipped with XOrg.
⦆ right white parenthesis (U+2986)
⦅ left white parenthesis (U+2985)
Alternatively, these would also correspond well with the plain ASCII
syntax:
⦇ z notation left image bracket (U+2987)
⦈ z notation right image bracket (U+2988)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10162>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list