Git Product home page Git Product logo

Comments (4)

zanieb avatar zanieb commented on July 30, 2024

Can we just add it to the report formatter?

from pubgrub.

mpizenberg avatar mpizenberg commented on July 30, 2024

We didn’t make the internal representation of range public because it is easy to break guaranties if you have access to it. If I’m not mistaken though there is an iterator that gives lets you iterate over segments bounds. Could you use that to make a custom function to convert to a string?

from pubgrub.

Eh2406 avatar Eh2406 commented on July 30, 2024

Isn't this exactly what #187 was intended to be used for? In your sample code self.segments.iter() can be replaced with self.iter() and it should all work.

from pubgrub.

konstin avatar konstin commented on July 30, 2024

Sorry, i missed the iter() for not returning Interval bit (Bound, Bound) 🤦. I've put up a half-baked branch at astral-sh/uv@main...konsti/pubgrub-range, the main task and verbosity is to forward all the utility methods of Range (Maybe something for a trait? Feels a bit specific though).

from pubgrub.

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.