Re: Allowing the for member syntax to enumerate key/value pairs in a map.

> Then we need the  array:flatten  function to accept a  "depth"  parameter, and  depth: 0  will be the default and cause the current behavior, that is unlimited depth, flatten all arrays until there are no more arrays.

I thought about this option, too. But I believe that people who are
used to Java and other languages don’t think about “flattening data”
if all they want is accessing the contents of arrays. I believe the
use case is common enough to provide an own function for that.

Received on Friday, 18 December 2020 15:46:33 UTC