通过Haskell Prelude,我看到了一个函数 const:
const
const x _ = x
我似乎无法找到有关此功能的任何相关内容.
重点是什么?任何人都可以举例说明这个函数的用途吗?
haskell
haskell ×1