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

Sliding Window conduit #6

Merged
merged 1 commit into from
Jul 23, 2014
Merged

Sliding Window conduit #6

merged 1 commit into from
Jul 23, 2014

Conversation

nanonaren
Copy link
Contributor

slidingWindow 3 [1..5] == [1,2,3],[2,3,4],[3,4,5]
Useful for algorithms requiring a moving window of data
over a stream.

slidingWindow 3 [1..5] == [1,2,3],[2,3,4],[3,4,5]
Useful for algorithms requiring a moving window of data
over a stream.
@snoyberg snoyberg merged commit 0a8d44f into fpco:master Jul 23, 2014
@snoyberg
Copy link
Member

Nice implementation, and great name! I had a function like this somewhere, but it was vector-specific, and had an incredibly confusing name. Very cool, thanks!

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