ngs-lang / ngs

Next Generation Shell (NGS)
https://ngs-lang.org/
GNU General Public License v3.0
1.49k stars 41 forks source link

Consider adding .=(a:Arr, field:Str, mapper:Fun) #660

Open ilyash-b opened 6 months ago

ilyash-b commented 6 months ago

So that this:

sessions.each(F(s) {
   s.COMPUTE_STACK_PRESENT = if s.ComputeStackName then s.ComputeStackName in stacks_names
})

could become this:

sessions.COMPUTE_STACK_PRESENT = F(s) if s.ComputeStackName then s.ComputeStackName in stacks_names