https://github.com/ba-st/aconcagua
Quantities as first class objects, that is, an object that encapsulates a number with its unit.
https://github.com/ba-st/aconcagua
measures pharo smalltalk
Last synced: 5 months ago
JSON representation
Quantities as first class objects, that is, an object that encapsulates a number with its unit.
- Host: GitHub
- URL: https://github.com/ba-st/aconcagua
- Owner: ba-st
- License: mit
- Fork: true (mtaborda/aconcagua)
- Created: 2017-05-16T19:13:46.000Z (about 9 years ago)
- Default Branch: release-candidate
- Last Pushed: 2025-04-16T18:32:00.000Z (about 1 year ago)
- Last Synced: 2025-04-17T03:27:44.918Z (about 1 year ago)
- Topics: measures, pharo, smalltalk
- Language: Smalltalk
- Homepage:
- Size: 659 KB
- Stars: 14
- Watchers: 5
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-pharo - Aconcagua - This model represents measures as first class objects, that is, an object that encapsulates a number with its unit. (Miscellaneous)
README
# Aconcagua

This model represents quantities as first class objects, that is, an object that
encapsulates a number with its unit.
[](https://github.com/ba-st/Aconcagua/actions/workflows/unit-tests.yml/badge.svg)
[](https://codecov.io/gh/ba-st/Aconcagua/branch/release-candidate)
[](https://github.com/ba-st/Aconcagua/actions/workflows/loading-groups.yml)
[](https://github.com/ba-st/Aconcagua/actions/workflows/markdown-lint.yml)
[](https://github.com/ba-st/Aconcagua/releases/latest)
[](https://pharo.org)
[](https://pharo.org)
[](https://pharo.org)
[](https://pharo.org)
[](https://gemtalksystems.com/products/gs64/)
[](https://gemtalksystems.com/products/gs64/)
> *Named after [Aconcagua](https://en.wikipedia.org/wiki/Aconcagua), the highest
> mountain in both the southern and western hemispheres. It is located in the
> Andes, in the Mendoza Province, Argentina.*
This representation allows the programmer to use quantities in arithmetic
expressions as if they were numbers, but with the advantage of providing
explicit information to the system, specifically, the units.
See [Arithmetic with measurements on dynamically-typed object-oriented languages](http://dl.acm.org/citation.cfm?id=1094964)
or [download the article PDF](http://stephane.ducasse.free.fr/Teaching/CoursAnnecy/0506-M1-COO/aconcagua-p292-wilkinson.pdf)
for more about the original design of the project.
## Quick links
- [**Explore the docs**](docs/)
- [Report a defect](https://github.com/ba-st/Aconcagua/issues/new?labels=Type%3A+Defect)
- [Request a feature](https://github.com/ba-st/Aconcagua/issues/new?labels=Type%3A+Feature)
## Features
- Arithmetic Objects and Formulas: Summation and Product
- Discrete Intervals
- Integer superscript formatting
- Quantitative analysis
- Units and dimensions in the International System of Units
- US Customary Units support
- Units of account
## License
- The code is licensed under [MIT](LICENSE).
- The documentation is licensed under [CC BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/).
## Installation
To load the project in a Pharo image, or declare it as a dependency of your own
project follow these [instructions](docs/Installation.md).
## Contributing
Check the [Contribution Guidelines](CONTRIBUTING.md)