|
|
|
|
|
by ilyash
1521 days ago
|
|
In Next Generation Shell (author here), it is not as ergonomic (yet?) but on the other hand it's a fully fledged no-nonsense programming language... and I claim quite a readable. good_data = fetch("openlibrary.json").docs.filter({"author_name": Arr, "publish_year":Arr}) good_data.map({{"title": A.title, "author_name": A.author_name[0], "publish_year": A.publish_year[0]}}).group("author_name").mapv(len).sortv((>=)).limit(3) |
|