Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Conversation

@matthewleon
Copy link
Contributor

As long as the user knows that foreachE ignores the computation's return value, it seems unfortunate to force upon them the choice of using void or unsafeCoerce.

@paf31
Copy link
Contributor

paf31 commented Jun 9, 2017

I'm not sure, actually. I see the appeal, but I think this falls into the same sort of category as Discard.

@matthewleon
Copy link
Contributor Author

matthewleon commented Jun 9, 2017

Well, this came up as I was trying to make Iterable instance of Array both simple and efficient, and saw that to do so I had to bring in a dependency for unsafeCoerce. Maybe there is a way out of that, though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants