2
本定義適用於ghci
:什麼是弗雷格相當於哈斯克爾的分數?
recip :: Fractional a ⇒ a → a
recip n = 1/n
嘗一嘗在frege-repl
我:
E <console>.fr:6: can't resolve `Fractional`, did you mean `Exceptional`
perhaps?
"Hoogling"Fractional
給我什麼。
嘗試hoogling'(/)'代替。 –
@DanielWagner應該把它叫做「Froogling」嗎? –