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

Functions for peeking sequence-like types with runtime known size #40

Open
mgsloan opened this issue May 31, 2016 · 1 comment
Open

Comments

@mgsloan
Copy link
Owner

mgsloan commented May 31, 2016

For some reason, you may already know the count of your serialized [a] / Map k a / etc. We could offer variants of peekSequence / peekSet / peekMap / etc. Perhaps something like peekSequenceWithSize.

@sjakobi
Copy link
Contributor

sjakobi commented Feb 17, 2017

Somewhat relatedly, utilities for poking and peeking ByteStrings of known size would be nice too. We could use those in commercialhaskell/stack#3006.

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

No branches or pull requests

2 participants