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

Added iterutils w/ findAll for pred and val #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tuatarian
Copy link

Added iterutils module, with 2 functions (findAll with value, findAll with predicate function).

@Tuatarian
Copy link
Author

Tuatarian commented Jul 29, 2021

There appears to be some sort of bug, I am not sure why this is failing checks. I am not familiar with CI, but my code should work crossplatform

Edit: This is seemingly not an issue with my code, but rather with the actual fusion repo at the moment. Please let me know if this is not mergeable for some reason

@@ -0,0 +1,11 @@
import sugar

iterator findAll*[T](s : openArray[T], val : T) : int =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use the new iterable from devel

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

Successfully merging this pull request may close these issues.

None yet

2 participants