You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The element type of flux::cartesian_product, cartesian_power and adjacent is a tuple of the element type(s) of the underlying sequences. These three adaptors also provide *_map versions, which take an n-ary function and call it directly with the underlying elements. This is to avoid forming a tuple and then immediately destructuring it, as would happen in a subsequent call to map(unpack(func)).
The odd one out is zip, which doesn't provide a _map form. We should fix that.
The text was updated successfully, but these errors were encountered:
The element type of
flux::cartesian_product
,cartesian_power
andadjacent
is a tuple of the element type(s) of the underlying sequences. These three adaptors also provide*_map
versions, which take an n-ary function and call it directly with the underlying elements. This is to avoid forming a tuple and then immediately destructuring it, as would happen in a subsequent call tomap(unpack(func))
.The odd one out is
zip
, which doesn't provide a_map
form. We should fix that.The text was updated successfully, but these errors were encountered: