Comments (7)
I'm ringing @nwf and @bartavelle as they seem to be the ones who last touched this.
Any thoughts on what happened, guys?
from parsers.
I can't really check as I am on holidays but the change I preformed was to
revert it back to an implementation identical to that in parsec
Le 1 nov. 2013 01:38, "Edward Kmett" [email protected] a Γ©crit :
I'm ringing @nwf https://github.com/nwf and @bartavellehttps://github.com/bartavelleas they seem to be the ones who last touched this.
Any thoughts on what happened, guys?
β
Reply to this email directly or view it on GitHubhttps://github.com//issues/24#issuecomment-27540597
.
from parsers.
git bisect
traced this down to 62941f5; in particular, the offending change is
- ambiguous assoc op= try $ op *> fail ("ambiguous use of a " ++ assoc ++ " associative operator")
+ ambiguous assoc op= op *> empty <?> ("ambiguous use of a " ++ assoc ++ "-associative operator")
Putting the "try $" back causes this example to work, but that may not be the right fix. Thoughts?
from parsers.
/cc @blamario
from parsers.
I did comment at the time that I hadn't properly tested the applicative version of the expression builder. In fact, what testing I've done was with uu-parsinglib
which doesn't have the try
operator. So putting back the try $
seems to be proper.
from parsers.
Sounds good. I'll make the change.
from parsers.
Fixed.
from parsers.
Related Issues (20)
- Package description insufficient
- Wrong example HOT 1
- Test run failure HOT 1
- Parsing an out-of-range character literal throws an exception HOT 1
- `natural` parser parses 0 HOT 3
- Feature request: instances for more parsing libraries HOT 3
- Approximate matching combinators (missing?) HOT 1
- buildExpressionParser Error Messages
- new parsers not on hackage.. HOT 5
- Intermittent QuickCheck test failures HOT 2
- No instance for (Text.Parser.Combinators.Parsing Parser) arising from a use of `unexpected' HOT 1
- Building tests via cabal fails when adding dependencies hspec and trifecta HOT 4
- Move notFollowedBy to LookAheadParsing? HOT 2
- Incorrect implementation of someSpace for Unlined in Text.Parser.Token.
- Dead link in package description
- double and scientific don't parse negatives HOT 1
- Is there suppose to be two nested `token` calls here?
- Parsing with source locations HOT 1
- notFollowedBy is a no-op for attoparsec and yoctoparsec, say HOT 5
- Applicative Permutation?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parsers.