I've been happy to seperate the semantics of greedy-vs-lazy operations into seperate functions, like map vs mapview and group vs groupview. However, the view suffix is a little tiresome.
I'm wondering if we should follow the example set by Base.Broadcast which uses broadcast(...) = materialize(broadcasted(...)), where broadcasted is more-or-less a lazy version of broadcast and materialize is something that behaves a bit like copy when necessary.
That would be something like:
mapview -> mapped.
groupview -> grouped.
- Lazy join functions ending in
joined instead of join.
- A new
filtered for lazy filter.
product is a noun, not a verb, and seems fine being lazy.
flatten vs flattened?
- We've been discussing
splitdims at Base and slice/slices seems like a possible naming. sliced could be a lazy version?
- etc...
Does anyone have any thoughts or opinions?
I've been happy to seperate the semantics of greedy-vs-lazy operations into seperate functions, like
mapvsmapviewandgroupvsgroupview. However, theviewsuffix is a little tiresome.I'm wondering if we should follow the example set by
Base.Broadcastwhich usesbroadcast(...) = materialize(broadcasted(...)), wherebroadcastedis more-or-less a lazy version ofbroadcastandmaterializeis something that behaves a bit likecopywhen necessary.That would be something like:
mapview->mapped.groupview->grouped.joinedinstead ofjoin.filteredfor lazyfilter.productis a noun, not a verb, and seems fine being lazy.flattenvsflattened?splitdimsatBaseandslice/slicesseems like a possible naming.slicedcould be a lazy version?Does anyone have any thoughts or opinions?