
28 Jan
2020
28 Jan
'20
10:57 a.m.
Rational is applicable the suggested new functions.
2020년 1월 28일 (화) 오후 7:49, Henning Thielemann
On Tue, 28 Jan 2020, Dannyu NDos wrote:
3. Step 2:
Second, I suggest to move `abs` and `signum` from `Num` to `Floating`:
class Floating a where abs :: a -> a signum :: a -> a ...
Rational is not Floating, but has reasonable abs and signum.