There are a lot of Num instances which only exist for fromInteger.
We want to retain them for fromInteger, but discourage the use of +, * in favour of ^+^ etc. Warn in docs, or consider removing the instance (replace by ad-hoc function Integer -> Pitch etc).
There are a lot of
Num
instances which only exist forfromInteger
.We want to retain them for
fromInteger
, but discourage the use of+
,*
in favour of^+^
etc. Warn in docs, or consider removing the instance (replace by ad-hoc functionInteger -> Pitch
etc).