Giter Club home page Giter Club logo

Comments (4)

refaktor avatar refaktor commented on June 4, 2024

I am a little ashamed to say, but it seems I've confused factors for multiples :). I've looked at the definitions and you are 100% correct. The thing that makes most sense to me is to rename factor-of to multiple-of. We could also have function factor-of but right now I don't know for a use case, so I would just rename.

Thank you for your feedback and if you see anything else out of sync just let me know please :)

I will close this issue once I rename the function and the examples that use it, which will be today hopefully.

from rye.

drcabana avatar drcabana commented on June 4, 2024

Re a function called factor-of, some mathematicians (usually number theorists) use the terminology 'divides'. Rather than 2 is a factor of 10 they will say that 2 divides 10, sometimes written as 2|10.

from rye.

refaktor avatar refaktor commented on June 4, 2024

Yes, I think I was trying to make fizz-buzz example, strted with divides, and somehow came to factor-of and confused the first and second argument. I am just preparing a little bigger PR where this is also fixed.

from rye.

refaktor avatar refaktor commented on June 4, 2024

Hi, I renamed factor-of to multiple-of in PR that is being merged now. Thank you for posted issue!

from rye.

Related Issues (8)

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.