From: Ian Lynagh Date: Fri, 17 Aug 2007 22:17:33 +0000 (+0000) Subject: Make :i (->) work; fixes trac #1587 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=3c8339e501570a147e2cb2acf6322461c9439364 Make :i (->) work; fixes trac #1587 --- diff --git a/compiler/parser/Parser.y.pp b/compiler/parser/Parser.y.pp index b624455..1cee18b 100644 --- a/compiler/parser/Parser.y.pp +++ b/compiler/parser/Parser.y.pp @@ -345,6 +345,7 @@ identifier :: { Located RdrName } | qcon { $1 } | qvarop { $1 } | qconop { $1 } + | '(' '->' ')' { LL $ getRdrName funTyCon } ----------------------------------------------------------------------------- -- Module Header