Conversation
Function ´pull´ also cause a thunk.
|
Thanks for the pull request, @Code-guru! docs/index.html shouldn't be edited directly, as it's generated from the comments in lib/index.js. Could you update your pull request to change the template please? (Note that that section of the docs has changed slightly on master) I'm a weak +1 for the change itself. It's technically correct, but I'm not sure we should be encouraging people to use |
|
I'm also a weak +1, but for the reason that this sentence is not meant to be an exhaustive list of all methods that consume a stream---that's what the Consumption section is for.
|
|
It's not clear that the Consumption section is meant to be that exhaustive list, given that only some methods mention they cause a thunk (implying that the rest don't). Maybe we should add a short intro to that section, reiterating parts of Laziness. |
I guess the other way to go could be to remove |
Well, the terminology that we use now is
I'd be OK with that. I'd also be OK with adding |
|
@Code-guru, if you're still interested, can you update this PR to change the |
Function
pullalso cause a thunk.