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

don't rely on reduce being fold-left (fix #3) #17

Merged
merged 2 commits into from
Oct 5, 2017

Conversation

stevengj
Copy link
Contributor

@stevengj stevengj commented Oct 5, 2017

Fixes #3.

@stevengj
Copy link
Contributor Author

stevengj commented Oct 5, 2017

Travis failure seems unrelated (rake not found)

@ulysses4ever ulysses4ever merged commit dbef6f2 into ulysses4ever:master Oct 5, 2017
@jfarid27
Copy link
Collaborator

jfarid27 commented Oct 5, 2017

@stevengj @ulysses4ever The PR seems to not pass our (arguably minimal) tests. Although I think you're right Steven that it should be a foldLeft, so it's likely a bug in the implementation of MList.

@ulysses4ever
Copy link
Owner

oops, sorry: it seems, I was too fast to merge

@jfarid27
Copy link
Collaborator

jfarid27 commented Oct 5, 2017

@ulysses4ever It's ok! I think the issue is it needs to be a foldL. After switching it to a foldL, the implementation breaks at MList. I'm staring at it now!

@stevengj stevengj deleted the patch-1 branch October 5, 2017 16:04
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.

3 participants