On Thu, 2024-03-14 at 09:23 -0700, 'Tristan Swadell' via CEL Go
Discussion Forum wrote:
> Hi Dan,
>
> The macros technically work with maps in all languages, but we don't
> document it as part of the spec due to the impedance mismatch between
> a map as input and a list as output as well as the fact that
> iteration of map keys is non-deterministic so the output lists can't
> really be relied upon to be in any form of sequence (at least for map
> and filter).
>
> Ultimately, we'd like to overhaul the macros.
>
> -Tristan
Thanks.
What direction would the overhaul likely take? Would it involve
removing the capacity to do this key iteration of maps? (I only just
discovered it because I always believed the spec, but we have had some
need for it, to the extent that the behaviour is mimicked in an
function in our extension lib).
Dan