相关疑难解决方法(0)

()在Haskell中意味着什么

在一些Haskell代码中,我遇到了:

put :: s -> m ()
Run Code Online (Sandbox Code Playgroud)

()意味着什么?

我使用搜索引擎,但找不到()正确处理的搜索引擎.

haskell

11
推荐指数
4
解决办法
3175
查看次数

为什么floatRange,floatRadix和floatDigits起作用?

根据Hackage,这些RealFloat类的功能是

......常数函数[s] ...

如果它们始终保持相同的值,无论参数如何,如本说明所示,为什么不简单地使用:

class (RealFrac a, Floating a) => RealFloat a where
    floatRadix :: Integer
    floatDigits :: Int
    floatRange :: (Int, Int)
    ...
Run Code Online (Sandbox Code Playgroud)

floating-point haskell

7
推荐指数
3
解决办法
142
查看次数

标签 统计

haskell ×2

floating-point ×1