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
Claude Code like using this pattern: .map(a=fn1, b=fn2) instead of .map(a=fn1).map(b=fn2).
That's seem a good syntax sugar and needs to be supported.
map
Updated:
- [ ] gen - [ ] agg
Optimization of a single map - map(a=f1, b=f2) should be squashed to a singe function without intermediate results map(c=f3) where f3 is like f2(f1()) and c is a superset of a and b
Optimization of multiple maps - map(a=f1).map(b=f2) ==> map(c=f2(f1()))
Description
Claude Code like using this pattern:
.map(a=fn1, b=fn2)instead of.map(a=fn1).map(b=fn2).That's seem a good syntax sugar and needs to be supported.
Updated:
- [ ] gen- [ ] aggmap(a=f1, b=f2)should be squashed to a singe function without intermediate resultsmap(c=f3)wheref3is likef2(f1())andcis a superset ofaandbmap(a=f1).map(b=f2)==>map(c=f2(f1()))