|
[ ghc-Bugs-978107 ] arrow notation example can't be parsed: msg#00038lang.haskell.glasgow.bugs
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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-978068 ] arrow syntax example can't be parsed, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-978107 ] arrow notation example can't be parsed, SourceForge.net |
| Previous by Thread: | [ ghc-Bugs-978068 ] arrow syntax example can't be parsed, SourceForge.net |
| Next by Thread: | [ ghc-Bugs-978107 ] arrow notation example can't be parsed, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |