Hacker GitHub

← All repos

tc39/proposal-iterator-helpers

View on GitHub ↗ ★ 1,346 HTML archived

Methods for working with iterators in ECMAScript

19 mentions on Hacker News by 14 people: 3 stories, 16 comments · first 2019-04-09 · latest 2024-11-04

Mentions per year 19 mentions · busiest year 2023 (5)
20082026
  1. …they will be in the next version of the standard and already starting to show up in some browsers. https://github.com/tc39/proposal-iterator-helpers
  2. Many of these are at stage 3 of the standardization process and have a good chance of shipping soon: https://github.com/tc39/proposal-iterator-helpers (They're not on objects, which I think is probably for the best; every method on…
    comment by ameliaquining · 2024-08-20 · in JavaScript weakmaps should be iterable
  3. …in the 23rd hour. The proposal seemed very close to getting shipped alongside https://github.com/tc39/proposal-iterator-helpers while basically accepting many of the constraints of current async iteration (one at a time consumption). Bu
    comment by jauntywundrkind · 2024-05-27 · in More Itertools
  4. Global iterator type is coming: https://github.com/tc39/proposal-iterator-helpers But a method named `groupBy` on iterators traditionally means a different thing: https://github.com/tc39/proposal-array-grouping/issues/51#is... Global…
    comment by bakkoting · 2023-12-19 · in TC39: Add Object.groupBy and Map.groupBy
  5. …is shipping soon, that'll be a huge help (async iteration helpers will be delayed for a while). https://github.com/tc39/proposal-iterator-helpers . In the olden days, I feel like the codebases I worked on needed to use .apply() multiple…
  6. …optimize. It's always going to be difficult to beat a c-style for loop for performance. [1] https://github.com/tc39/proposal-iterator-helpers/
    comment by bakkoting · 2023-08-24 · in Bun v0.8
  7. …can't I even map an iterator? It's coming, but someone will likely be exhausted by that addition. https://github.com/tc39/proposal-iterator-helpers
  8. …by using methods that already exists in other parts. It feels natural and is more of the same. 0 - https://github.com/tc39/proposal-iterator-helpers#implementa...
    comment by gherkinnn · 2023-01-02 · in Functional Programming – How and Why
  9. …let you do exactly that, going for stage 3 (ready for implementations) at the end of the month: https://github.com/tc39/proposal-iterator-helpers
  10. …of lodash and Ramda. There's a Stage 2 proposal to bring more of them into "the standard library": https://github.com/tc39/proposal-iterator-helpers There's also a Stage 2 proposal for an operator to make the syntax generally nicer no…
  11. I often miss map, reduce and filter on iterators, though this is already a stage 2 proposal: https://github.com/tc39/proposal-iterator-helpers .
    comment by Zababa · 2021-12-13 · in Deno Joins TC39
  12. Mainly pushing proposals like https://github.com/tc39/proposal-iterator-helpers that make it easier to work with (async) iterators.
    comment by lucacasonato · 2021-12-13 · in Deno Joins TC39
  13. …in RxJS/Observable land. [1]: https://github.com/tc39/proposals/blob/master/stage-1-propos... [2]: https://github.com/tc39/proposal-iterator-helpers [3]: https://github.com/tc39/notes/blob/master/meetings/2019-06/j...
  14. …promises, ..) to avoid the cost of this new syntax Other proposals I'm more excited about: - https://github.com/tc39/proposal-iterator-helpers - https://github.com/tc39/proposal-slice-notation/ (and https://github.com/tc39/proposal-slice-no…
    comment by 11235813213455 · 2019-09-28 · in New ES2019 JavaScript features
  15. …c]) => gcd(a,b)==1 && gcd(a,c)==1 && gcd(b,c)==1 && Number.isInteger((a**3+b**3+c**3)**(1/3))) with https://github.com/tc39/proposal-iterator-helpers , which would allow lazy evaluation, and make more sense than above (1:30).flatMap(a =>…
    comment by 11235813213455 · 2019-08-22 · in List comprehensions across languages (2007)
  16. …both node and web streams into async iterables, and have now proposed this for js standardisation: https://github.com/tc39/proposal-iterator-helpers
    comment by snek · 2019-04-09 · in Request’s Past, Present and Future