Skip to content

consider rename execution::just #122

Open
@ericniebler

Description

@ericniebler

Issue by huixie90
Wednesday Oct 27, 2021 at 11:37 GMT
Originally opened as NVIDIA/stdexec#223


Sorry if this is not the right place to send feedback from the "general public".

The name execution::just is a little bit miss leading for a functional programming developer. Usually just is associated with Maybe. In C++ context, I'd expect just to create a std::optional.

In this case, I think the execution::just is taking a value and creating a sender with the value. This sounds like that execution::just is the implementation of pure for applicative functor or the return implementation for a monad.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionWe need to talk about this; there's nothing actionable here yetnaming

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions