rxjs-docs icon indicating copy to clipboard operation
rxjs-docs copied to clipboard

Inaccurate description of scan behavior in introduction

Open jonahbron opened this issue 6 years ago • 2 comments

In the Purity section of the Introduction, the last paragraph describes scan() working "just like reduce for arrays".

https://rxjs-dev.firebaseapp.com/guide/overview#purity

It is similar, but not identical, since scan still emits every cumulative value, while reduce does not. I tried to search through the source code and the language files with which to make a PR, but I can't find where this text lives. Can someone point me in the right direction so I can propose alternate wording?

jonahbron avatar May 23 '18 04:05 jonahbron

The introduction markdown file is in another repo, presumably linked to as a submodule under rxjs-docs/ in this repo:

https://github.com/ReactiveX/rxjs/blob/master/doc/introduction.md#purity

I'm guessing we have to make PRs in that repo instead?

shaunlebron avatar Jun 25 '18 21:06 shaunlebron

Sorry for the confusion on that. We switched to the the rxjs repo. If you need help with that, just ping me. Sorry for the confusion. This repository is just used to transfer the awesome content already made.

niklas-wortmann avatar Jun 25 '18 21:06 niklas-wortmann