We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
代码恰好可见于 6050572#diff-8c949560d14df22da6a43f382a0f8ec8R28 原文为:
(~-) :: Double -> State Double (Double -> Double) (~-) x = State $ \s -> (((-)x), s - x)
根据本 demo 的功能,((-)x) 想要的效果是 \y -> y - x 或者说 subtract x。但 ((-)x) 的效果是 \y -> x - y。
((-)x)
\y -> y - x
subtract x
\y -> x - y
The text was updated successfully, but these errors were encountered:
No branches or pull requests
代码恰好可见于 6050572#diff-8c949560d14df22da6a43f382a0f8ec8R28
原文为:
根据本 demo 的功能,
((-)x)
想要的效果是\y -> y - x
或者说subtract x
。但((-)x)
的效果是\y -> x - y
。The text was updated successfully, but these errors were encountered: