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

Feature request: parametric targets #2759

Open
Vtec234 opened this issue Aug 9, 2022 · 0 comments
Open

Feature request: parametric targets #2759

Vtec234 opened this issue Aug 9, 2022 · 0 comments
Labels
enhancement New feature or request Lake Lake related issue

Comments

@Vtec234
Copy link
Member

Vtec234 commented Aug 9, 2022

Currently Lake seems to reject a statement such as

target myTarget (pkg : Package) (arg : Nat) : FilePath := ...

We can write

def myTarget (pkg : Package) (arg : Nat) [Fact (pkg.name = _package.name)] : IndexBuildM (BuildJob FilePath) := ...

but it would be nice if the DSL supported it.

@tydeu tydeu added the enhancement New feature or request label Aug 9, 2022
@tydeu tydeu transferred this issue from leanprover/lake Oct 25, 2023
@tydeu tydeu added the Lake Lake related issue label Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Lake Lake related issue
Projects
None yet
Development

No branches or pull requests

2 participants