Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a specific Literal to decide how to apply wrap_kvs trans functions. #12

Open
thorwhalen opened this issue Jun 17, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@thorwhalen
Copy link
Member

thorwhalen commented Jun 17, 2022

Proposal: Use FirstArgIsMapping(Literal)

A Literal class to mark a function as being one where the first argument is
a mapping (store). This is intended to be used in wrappers such as wrap_kvs
to indicate when the first argument of a transformer function trans like
key_of_id, preset, etc. is the store itself, therefore should be applied as
trans(store, ...) instead of trans(...).

┆Issue is synchronized with this Asana task by Unito

@thorwhalen thorwhalen added the enhancement New feature or request label Jun 17, 2022
@thorwhalen thorwhalen self-assigned this Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant