为什么我不能有一个“相等”的有理函数
作者:newcodder 提问时间:11/15/2022
我对 Haskell 很陌生,对 Eq 有疑问。 data Rat = Rat Integer Integer normaliseRat :: Rat -> Rat normaliseRat (R...
haskell-platform 问答列表
作者:newcodder 提问时间:11/15/2022
我对 Haskell 很陌生,对 Eq 有疑问。 data Rat = Rat Integer Integer normaliseRat :: Rat -> Rat normaliseRat (R...