Skip to content
New issue

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

16.2 - P163 do语法糖第二段示例 #44

Open
liuhk388 opened this issue Apr 5, 2017 · 1 comment
Open

16.2 - P163 do语法糖第二段示例 #44

liuhk388 opened this issue Apr 5, 2017 · 1 comment

Comments

@liuhk388
Copy link

liuhk388 commented Apr 5, 2017

Just 3>>= /n ->
    Just 'x' >>= /x ->
        replicate n x

最后一行应该少了个return?

Just 3>>= /n ->
    Just 'x' >>= /x ->
        return $ replicate n x
@winterland1989
Copy link
Owner

额 是的 多谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants