bitemyapp / bitemyapp/esqueleto

`avg_` and `sum_` should require `Num` instances

Open
#428 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.