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

原书代码 bug #80

Open
felixdae opened this issue Nov 2, 2015 · 0 comments
Open

原书代码 bug #80

felixdae opened this issue Nov 2, 2015 · 0 comments

Comments

@felixdae
Copy link

felixdae commented Nov 2, 2015

原书 12 章的parseRawPPM函数的行:
identity (listArray ((0,0),(width-1,height-1)) pxs)
应该为
identity (listArray ((0,0),(height-1,width-1)) pxs)

下面几处跟这里相关的错误,只有把错误代码才是正确的
这里的译文错误同样存在
http://cnhaskell.com/chp/12.html#parsing-a-colour-image
没看到 github 上有代码,否则提个 pr 了

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

1 participant