GithubHelp home page GithubHelp logo

Unitless about drasil HOT 5 CLOSED

jacquescarette avatar jacquescarette commented on August 26, 2024
Unitless

from drasil.

Comments (5)

smiths avatar smiths commented on August 26, 2024

I agree that explicitly saying unitless is a good idea. I do not know how it is internally represented in drasil, but in the output the string "unitless" would be fine. Dan, is this something you can add?

from drasil.

JacquesCarette avatar JacquesCarette commented on August 26, 2024

We had a discussion about this issue this morning. Yes, we have to have symbols (quantities to be precise) which are unitless. However, it does not make sense to have unitless-unital quantities. There are some technical issues to fix to deal with this nicely, but we're on it.

from drasil.

JacquesCarette avatar JacquesCarette commented on August 26, 2024

I assigned Dan for now, but I understand that this issue might need me too.

from drasil.

szymczdm avatar szymczdm commented on August 26, 2024

I tried to create a data type with a constructor for Quantity and Unital, but I'm not sure where to go from there. My thought process so far is either the new data type needs to become an instance of Chunk, Concept, etc. or there will need to be some helper functions to do anything. I'm not sure what the "user" should see in this case / where and how the new data type will be used.

Related is "Units in Data Definition descriptions" which I believe will be solved once this is solved.

from drasil.

JacquesCarette avatar JacquesCarette commented on August 26, 2024

This is now fixed with the introduction of MUChunk. It may well be that other things also need fixed to fully deal with all the repercussions, but this precise issue is fixed.

from drasil.

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.