Giter Site home page Giter Site logo

Comments (7)

ekmett avatar ekmett commented on June 28, 2024

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.

bartavelle avatar bartavelle commented on June 28, 2024

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.

nwf avatar nwf commented on June 28, 2024

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.

ekmett avatar ekmett commented on June 28, 2024

/cc @blamario

from parsers.

blamario avatar blamario commented on June 28, 2024

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.

ekmett avatar ekmett commented on June 28, 2024

Sounds good. I'll make the change.

from parsers.

ekmett avatar ekmett commented on June 28, 2024

Fixed.

from parsers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.