Skip to content

Name proposal for lazy operations: past tense #11

@andyferris

Description

@andyferris

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions