Untitled attachment
https://files.mastodon.social/media_attachments/files/108/443/622/161/748/982/original/1e56c1043813308f.png
Wrote an implementation of the function that groups objects in an array in modern #javascript. Definitely one of the essentials.
The only thing I miss is the "where" statement from Haskell, so I don't have to repeat myself when writing functionally.
tiflolinux.org - GNU Social is a social network, courtesy of tiflolinux.org. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.
All tiflolinux.org - GNU Social content and data are available under the Creative Commons Attribution 3.0 license.