Giter Club home page Giter Club logo

Comments (3)

MatthewDaggitt avatar MatthewDaggitt commented on August 17, 2024 1

I guess you could add a note to HACKING along the lines of:

Before making changes to a Data module please have a look at related modules and see if they have any content along similar lines. If so then please follow those conventions (e.g. naming, argument order). For example if working on Data.Rational, please check Data.Rational.Unnormalised or if working on Data.Vec please check Data.List and vice versa.

Feel free to edit as you seefit.

from agda-stdlib.

MatthewDaggitt avatar MatthewDaggitt commented on August 17, 2024

Err, so just to play the devil's advocate. If someone makes an addition to Data.Nat, should they also be required to make the change to Data.Nat.Binary as well?

from agda-stdlib.

jamesmckinna avatar jamesmckinna commented on August 17, 2024

Oh... hmmm. It's a good question!

I suppose I had in mind that Data.Rational.Unnormalised and Data.Rational are so tightly coupled. For whatever (blinkered) reason, I guess I view Rational as the 'abstract' interface implemented by the Unnormalised rationals?

But indeed, perhaps that's also true for your case, though my instinct suggests to me that these are some two free-standing, but nevertheless coupled, implementations of the naturals?

And of course we've also seen this many times in the List/Vec developments getting out of sync, and also within the various 'inflections' of the Vec hierarchy itself.

In any case, happy to close the issue with some sort of note in either HACKING or style-guide or do you think it's status:invalid?

from agda-stdlib.

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.