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

cstruct.iter vs cstruct.fold #8

Open
mor1 opened this issue Sep 21, 2013 · 0 comments
Open

cstruct.iter vs cstruct.fold #8

mor1 opened this issue Sep 21, 2013 · 0 comments

Comments

@mor1
Copy link

mor1 commented Sep 21, 2013

currently, Cstruct.iter basically turns a buffer in to an iterable of parsed structures. Cstruct.fold then folds over such an iterable with an accumulator.

it seems like there should also be functions that iterate and map over the iterable that comes out of Cstruct.iter, and (perhaps) that the current Cstruct.iter should be renamed to Cstruct.mk_iter or somesuch.

thoughts?

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

1 participant