Same closure arg order for functional collections (set, map, tree, ...)
mihaeu opened this issue · comments
Closures for functional access methods like map or reduce should have the same signature for different implementations. Also $value, $key
doesn't make sense and is confusing. Use index for key for sets and leaf identifier for trees.
Fixed in 9d15e2e