bitemyapp / bitemyapp/esqueleto
`avg_` and `sum_` should require `Num` instances
Open
- Dominant language
- Haskell
- Stars
- 399
- Forks
- 107
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 1
Description
Like `round_`, `floor_` and `ceiling_`, `avg_` and `sum_` should have `Num` instances because their SQL function equivalents can only be used on numbers.
As any program using this functions on non-numeric values would crash already, this may even be possible to do in a minor version bump (but I understand unwillingness to do so).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.