AliceRixte / AliceRixte/convert-units
Use a Qty newtype instead of one newtype per unit
Abierto
enhancement
- Lenguaje dominante
- Haskell
- Estrellas
- 10
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.