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

Consider inferred contextual paramaters as a generalization of permissions #223

Open
lolbinarycat opened this issue Sep 28, 2024 · 0 comments

Comments

@lolbinarycat
Copy link

https://paper.wf/binarycat/inferred-implicit-parameters-for-ergonomic-object-capabilities

two main requirements for this:

  1. allow inferring the whole function signature, including permissions
  2. allow permissions that are actual values

for example, instead of having a permission to perform IO on the entire system, you could have a directory handle represent the permission to access that directory.

I will try to put together a prototype, however i haven't touched haskell in quite some time, so i'm not sure how well i can manage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant