summaryrefslogtreecommitdiff
path: root/compiler/GHC/Parser/Annotation.hs
diff options
context:
space:
mode:
authorVladislav Zavialov <vlad.z.4096@gmail.com>2020-09-10 14:41:25 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-09-29 00:32:05 -0400
commit5830a12c46e7227c276a8a71213057595ee4fc04 (patch)
tree70eacf5713115640af3ef83cb393e6f1a19d5096 /compiler/GHC/Parser/Annotation.hs
parentb31a3360e2ef12f3ec7eaf66b3600247c1eb36c3 (diff)
downloadhaskell-5830a12c46e7227c276a8a71213057595ee4fc04.tar.gz
New linear types syntax: a %p -> b (#18459)
Implements GHC Proposal #356 Updates the haddock submodule.
Diffstat (limited to 'compiler/GHC/Parser/Annotation.hs')
-rw-r--r--compiler/GHC/Parser/Annotation.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/GHC/Parser/Annotation.hs b/compiler/GHC/Parser/Annotation.hs
index 0db029ba02..f6fbe47fe6 100644
--- a/compiler/GHC/Parser/Annotation.hs
+++ b/compiler/GHC/Parser/Annotation.hs
@@ -259,8 +259,7 @@ data AnnKeywordId
| AnnLarrow -- ^ '<-'
| AnnLarrowU -- ^ '<-', unicode variant
| AnnLet
- | AnnLolly -- ^ '#->'
- | AnnLollyU -- ^ '#->', unicode variant
+ | AnnLollyU -- ^ The '⊸' unicode arrow
| AnnMdo
| AnnMinus -- ^ '-'
| AnnModule
@@ -364,7 +363,6 @@ unicodeAnn AnnOpenB = AnnOpenBU
unicodeAnn AnnCloseB = AnnCloseBU
unicodeAnn AnnOpenEQ = AnnOpenEQU
unicodeAnn AnnCloseQ = AnnCloseQU
-unicodeAnn AnnLolly = AnnLollyU
unicodeAnn ann = ann