#9 Add a MINIMAL pragma

Отворени
sheaf заяви обединяване на 1 ревизии от sheaf/minimal във koz.ross/master
sheaf коментира преди 3 години

The documentation says

If you want a manually-defined instance, but don't wish to define every method, only fromFinite and toFinite are needed, along with Cardinality.

Adding a MINIMAL pragma would reflect that in the haddocks, which currently say

Minimal complete definition: Nothing

due to the default methods.

P.S. The hackage page for this library currently says "Deprecated." for all versions, when I assume this text is only meant to appear for the older versions?

The documentation says >If you want a manually-defined instance, but don't wish to define every method, only fromFinite and toFinite are needed, along with Cardinality. Adding a `MINIMAL` pragma would reflect that in the haddocks, which currently say > Minimal complete definition: Nothing due to the default methods. P.S. The hackage page for this library currently says "Deprecated." for all versions, when I assume this text is only meant to appear for the older versions?
Koz Ross коментира преди 3 години
Притежател

This is because MINIMAL pragmata interfere with derivation-via-Generics. It's annoying, but a known problem.

Also, I am no longer working on finitary (hence the deprecation). If you'd like it, please let me know.

This is because MINIMAL pragmata interfere with derivation-via-`Generics`. It's annoying, but a known problem. Also, I am no longer working on `finitary` (hence the deprecation). If you'd like it, please let me know.
Може да се извърши обединяване на тази заявка за сливане.
Впишете се за да се присъедините към разговора.
Няма етап
Няма изпълнител
2 участника
Зареждане...
Отказ
Запис
Все още няма съдържание.