[ ghc-Bugs-978107 ] arrow notation example can't be parsed
SourceForge.net
noreply at sourceforge.net
Wed Jun 23 06:11:54 EDT 2004
Bugs item #978107, was opened at 2004-06-23 12:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=978107&group_id=8032
Category: Compiler (Parser)
Group: 6.2
Status: Open
Resolution: None
Priority: 5
Submitted By: John Hughes (rjmh)
Assigned to: Nobody/Anonymous (nobody)
Summary: arrow notation example can't be parsed
Initial Comment:
This expression can't be parsed:
bug f g = proc x -> f >>> g -< x
Brackets are needed around f>>>g to get it through the
parser. Can't see any justification for this -- the
documentation suggests any expression is allowed
before -<, and indeed, >>> cannot be confused with a
command operator because f is not a command.
Are you parsing -< as an operator with a precedence
greater than >>>? Hard to see otherwise why this
doesn't parse.
John
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=978107&group_id=8032
More information about the Glasgow-haskell-bugs
mailing list