On iteration and enumeration

And maps:map2 converts to a list and then converts it back to a map, which goes back to my earlier point of it all being done on lists anyway: otp/lib/stdlib/src/maps.erl at master 路 erlang/otp 路 GitHub :slight_smile:

BIFs do not accept anonymous function as argument and I don鈥檛 believe there is a plan to lift this restriction. So it is probably staying like this for now.

Does it work with resources? Because it was one of the first approaches that we tried but very error prone when it comes to dangling resources.