JuliaData / JuliaData/SplitApplyCombine.jl

Name proposal for lazy operations: past tense

Open
#11 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
154
Forks
16
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the existing map/mapview, group/groupview, lazy join, filter, flatten, splitdims, slice, and product APIs named in the issue. First determine whether the project has settled on a naming convention; done would require an agreed naming plan for the affected lazy operations, rather than a single isolated edit.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.