AliceRixte / AliceRixte/convert-units
Use a Qty newtype instead of one newtype per unit
Aperta
enhancement
- Lingua principale
- Haskell
- Stelle
- 10
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
It might be better to have a Qty newtype, similar to [Tagged](https://hackage-content.haskell.org/package/tagged-0.8.10/docs/Data-Tagged.html#t:Tagged) instead of declaring one newtype for each unit.
Then units would be simply singleton types.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.