Hacker GitHub

← All repos

tc39/proposal-slice-notation

View on GitHub ↗ ★ 528 HTML

8 mentions on Hacker News by 5 people: 0 stories, 8 comments · first 2018-06-29 · latest 2022-07-28

Mentions per year 8 mentions · busiest year 2019 (4)
20082026
  1. …If you prefer syntax to function calls, there's a Stage 1 proposal still live for that: https://github.com/tc39/proposal-slice-notation > better equality operators That ship has probably sailed. Most projects at this point just have linter…
  2. Both are stage 1 proposals that I hope get in there some day. https://github.com/tc39/proposal-slice-notation https://github.com/tc39/proposal-pattern-matching
    comment by Joeri · 2021-06-28 · in JavaScript Is Weird
  3. …adopted, and am glad to see it looks like there is once again a proposal under consideration: https://github.com/tc39/proposal-slice-notation/blob/master/...
    comment by montroser · 2020-05-30 · in ECMAScript 4: The Missing Version
  4. …3 String methods to take a substring (substring, substr, slice) (there's even 4th way in proposal: https://github.com/tc39/proposal-slice-notation ) The last added one is slice, and actually simplifies things, with its consistency with…
    comment by 11235813213455 · 2019-12-07 · in New Features in ES2019
  5. …- haskell: perms [] = [[]] perms xs = [ x:ps | x <- xs , ps <- perms ( xs\\[x] ) ] - js: (using https://github.com/tc39/proposal-slice-notation for conciseness) const perms = xs => xs.length === 0 ? [[]] : xs.flatMap((xi, i) =>…
  6. …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-notation/pull/32 )
    comment by 11235813213455 · 2019-09-28 · in New ES2019 JavaScript features
  7. the a:b notation for JS is still in proposal phase https://github.com/tc39/proposal-slice-notation/pull/32 , but I'll use it below to create ranges I don't understand your `+0.5`, I've written below the transcription for your description…
    comment by 11235813213455 · 2019-08-22 · in List comprehensions across languages (2007)
  8. There's currently a TC39 stage 1 proposal to add something very like the Python syntax to JavaScript: https://github.com/tc39/proposal-slice-notation . There's an active Babel feature request to implement exactly that proposal:…