为什么要进行此类型检查:
runST $ return $ True
尽管以下内容没有:
runST . return $ True
GHCI抱怨:
Couldn't match expected type `forall s. ST s c0'
with actual type `m0 a0'
Expected type: a0 -> forall s. ST s c0
Actual type: a0 -> m0 a0
In the second argument of `(.)', namely `return'
In the expression: runST . return
qq_笑_17
梦里花落0921