diff options
author | Josh Price <joshprice247+git@gmail.com> | 2016-03-23 16:19:01 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-03-24 10:53:27 +0100 |
commit | 03a1bb4d010f94bed233ca261bf44e00c7bd9878 (patch) | |
tree | 890d30986fc232bc3715d3a39ec5aea73b430755 /docs | |
parent | 2708c22b8c8a415446d963575c0396a038b43a93 (diff) | |
download | haskell-03a1bb4d010f94bed233ca261bf44e00c7bd9878.tar.gz |
Add unicode syntax for banana brackets
Summary:
Add "⦇" and "⦈" as unicode alternatives for "(|" and "|)" respectively.
This must be implemented differently than other unicode additions
because ⦇" and "⦈" are interpretted as a $unigraphic rather than
a $unisymbol.
Test Plan: validate
Reviewers: goldfire, bgamari, austin
Reviewed By: bgamari, austin
Subscribers: thomie, mpickering
Differential Revision: https://phabricator.haskell.org/D2012
GHC Trac Issues: #10162
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/glasgow_exts.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst index a4a08302a9..978fe8b195 100644 --- a/docs/users_guide/glasgow_exts.rst +++ b/docs/users_guide/glasgow_exts.rst @@ -302,6 +302,10 @@ sequences. The following alternatives are provided: +--------------+---------------+-------------+--------------------------------+ | ``forall`` | ∀ | 0x2200 | FOR ALL | +--------------+---------------+-------------+--------------------------------+ +| ``(|`` | ⦇ | 0x2987 | Z NOTATION LEFT IMAGE BRACKET | ++--------------+---------------+-------------+--------------------------------+ +| ``|)`` | ⦈ | 0x2988 | Z NOTATION RIGHT IMAGE BRACKET | ++--------------+---------------+-------------+--------------------------------+ .. _magic-hash: |