https://github.com/avestura/fsfrink
An effort to bring frinklang.org UoMs into F# ecosystem
https://github.com/avestura/fsfrink
frink units-of-measure units-of-measurement uom
Last synced: 4 months ago
JSON representation
An effort to bring frinklang.org UoMs into F# ecosystem
- Host: GitHub
- URL: https://github.com/avestura/fsfrink
- Owner: avestura
- Created: 2019-07-31T18:03:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-31T18:07:43.000Z (about 6 years ago)
- Last Synced: 2025-04-04T07:11:25.661Z (6 months ago)
- Topics: frink, units-of-measure, units-of-measurement, uom
- Language: F#
- Homepage:
- Size: 169 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FsFrink
An effort to bring [frinklang.org](https://frinklang.org) UoMs into F# ecosystem## Adding UoMs
Add UoM in `Frink.Data.{Category}.UnitNames`, then the symbol form in `Frink.Data.{Category}.UnitSymbols` namespace.
If there is no symbol for that UoM, add the unit name in unit symbols namespace and alias it to the correct type. Like:```fsharp
namespace Frink.Data.Volume.UnitSymbols
[] type lambda = Frink.Data.Volume.UnitNames.lambda
```