Skip to content

Consider adjusting node- and source-registration interface #643

Description

@knoepfel

See #637 (comment). This is a proposal to consider the following renaming:

Entity Now Proposed
Source g.source<T>(...) g.add_source<T>(...)
Transform g.transform(...) g.add_transform(...)
Fold g.fold(...) g.add_fold(...)
Unfold g.unfold(...) g.add_unfold(...)
Observer g.observe(...) g.add_observer(...)
Predicate g.predicate(...) g.add_predicate(...)
Provider g.provide(...) g.add_provider(...)

Notice that for the HOFs (i.e., everything but the source), the form is changing from the "verb" being the HOF (e.g., g.observe(...)) to the "verb" being the "add" of the HOF.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorrefactor and/or cleanup

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions