News for hackers. Stuff that matters.
Re:How to Use JSON Path by williamcotton on Friday May 03, 2024 @07:48AM (#40246568)
F# just added this syntax:

  let possibleNow = 
      people 
      |> List.distinctBy _.Name
      |> List.groupBy _.Age
      |> List.map snd
      |> List.map _.Head.Name
      |> List.sortBy _.ToString()
Re:How to Use JSON Path by chuckadams on Friday May 03, 2024 @11:27AM (#40248788)
Meanwhile JS is still struggling to define even version 1.0 of a pipe operator, and the proposal has been bikeshedded into shabby oblivion with a syntax that's worse than just pulling out lodash pipe() or similar. TC39 does not fill me with hope.