summaryrefslogtreecommitdiff
path: root/compiler/Language/Haskell/Syntax/Pat.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/Language/Haskell/Syntax/Pat.hs')
-rw-r--r--compiler/Language/Haskell/Syntax/Pat.hs7
1 files changed, 1 insertions, 6 deletions
diff --git a/compiler/Language/Haskell/Syntax/Pat.hs b/compiler/Language/Haskell/Syntax/Pat.hs
index 75dc7ddd00..4393ad998a 100644
--- a/compiler/Language/Haskell/Syntax/Pat.hs
+++ b/compiler/Language/Haskell/Syntax/Pat.hs
@@ -92,9 +92,6 @@ data Pat p
------------ Lists, tuples, arrays ---------------
| ListPat (XListPat p)
[LPat p]
- -- For OverloadedLists a Just (ty,fn) gives
- -- overall type of the pattern, and the toList
--- function to convert the scrutinee to a list value
-- ^ Syntactic List
--
@@ -153,9 +150,7 @@ data Pat p
-- | - 'GHC.Parser.Annotation.AnnKeywordId' : 'GHC.Parser.Annotation.AnnRarrow'
-- For details on above see note [exact print annotations] in GHC.Parser.Annotation
- | ViewPat (XViewPat p) -- The overall type of the pattern
- -- (= the argument type of the view function)
- -- for hsPatType.
+ | ViewPat (XViewPat p)
(LHsExpr p)
(LPat p)
-- ^ View Pattern