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

Reusable Invocations #60

Open
Emoun opened this issue Feb 18, 2024 · 0 comments
Open

Reusable Invocations #60

Emoun opened this issue Feb 18, 2024 · 0 comments
Labels
D-discussion A decision (D) has not been made yet and is open to discussion I-feature This issue (I) regards a (potential) feature in the project T-new Triage (T): Has yet to be reviewed

Comments

@Emoun
Copy link
Owner

Emoun commented Feb 18, 2024

Short Description:

Provide a way for reusing duplicate! invocation code for multiple invocations

Motivation:

If we want to reuse the same invocation in multiple calls to different duplicate!s:

some_invocations_code!{
  ReUsableId
  [SomeInvocations] [That are repeated]
}

#[duplicate_item(ReUsableId)]
{...}

#[duplicate_item(ReUsableId)]
{...}

Design

It should be possible to define some code that can be used as duplicate invocation repeatedly.
It should also be possible for an invocation to use some code from a different file.

Misc:

@Emoun Emoun added D-discussion A decision (D) has not been made yet and is open to discussion I-feature This issue (I) regards a (potential) feature in the project labels Feb 18, 2024
@github-actions github-actions bot added the T-new Triage (T): Has yet to be reviewed label Feb 18, 2024
@Emoun Emoun changed the title Reusbale Invocations Reusable Invocations Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D-discussion A decision (D) has not been made yet and is open to discussion I-feature This issue (I) regards a (potential) feature in the project T-new Triage (T): Has yet to be reviewed
Projects
None yet
Development

No branches or pull requests

1 participant