[GHC] #10162: Add unicode syntax for banana brackets

GHC ghc-devs at haskell.org
Thu Jun 11 09:03:26 UTC 2015


#10162: Add unicode syntax for banana brackets
-------------------------------------+-------------------------------------
        Reporter:  zardoz            |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  low               |               Milestone:
       Component:  Compiler          |                 Version:  7.8.4
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by zardoz):

 I’ve noticed that this has been proposed before, in passing, but wasn’t
 part of the respective patch.

     https://ghc.haskell.org/trac/ghc/ticket/2978

 Beside banana brackets, the ticket also proposed these, which seem to fit
 together nicely.

 • 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 (|
 |)

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10162#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list