I'm a cyber security consultant and an enthusiast software developer from Italy ๐ฎ๐น
- ๐ญ Iโm currently working on Argon programming language.
import "enum"
import "io"
let NOBLE_GAS = ["Helium", "Neon", "Argon", "Krypton", "Xenon"]
var group_by_name_length = enum.group_by(len)
NOBLE_GAS
|> group_by_name_length
|> io.print
/* {6: [Helium], 4: [Neon], 5: [Argon, Xenon], 7: [Krypton]} */