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

get-{bytevector,string}-n! have end instead of count as argument #3

Open
weinholt opened this issue Jun 10, 2018 · 0 comments
Open

Comments

@weinholt
Copy link

get-bytevector-n! and get-string-n! both have end instead of count as argument, which is also reflected in that they do the wrong thing.

The signatures in ports.rkt: (get-bytevector-n! p bytes start end), (get-string-n! p str start end)

The signatures in R6RS: (get-bytevector-n! binary-input-port bytevector start count), (get-string-n! textual-input-port string start count)

You may find a test case for get-bytevector-n! in okuoku/yuni#95

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