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

exported HOFs all do thunk #643

Merged
merged 1 commit into from
Jul 8, 2014
Merged

exported HOFs all do thunk #643

merged 1 commit into from
Jul 8, 2014

Conversation

garborg
Copy link
Contributor

@garborg garborg commented Jul 7, 2014

Changes:
Some functions have a method whose final arg is a function.
The do block idiom doesn't work for those methods, so alternate methods
were added (exported functions with a single function arg only).

Motivations:
I expected a do block to work with by, and added it to the rest for consistency. I've seen this done elsewhere, so I assume it's non-controversial, but I'm not sure, so feel free to contradict.

Some functions have a method whose final arg is a function.
The do block idiom doesn't work for those methods, so alternate methods
were added (exported functions with a single function arg only).
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 7f8afda on bythunk into 1946ebe on master.

@garborg
Copy link
Contributor Author

garborg commented Jul 8, 2014

Going to go ahead with this for now.

garborg added a commit that referenced this pull request Jul 8, 2014
@garborg garborg merged commit f8fc0ec into master Jul 8, 2014
@garborg garborg deleted the bythunk branch July 8, 2014 22:00
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.

2 participants