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

support an effect hierarchy #321

Open
JonathanAldrich opened this issue Apr 24, 2019 · 0 comments
Open

support an effect hierarchy #321

JonathanAldrich opened this issue Apr 24, 2019 · 0 comments

Comments

@JonathanAldrich
Copy link
Member

Allow one effect to be defined as a sub-effect of another. For example, the f.write effect indicates a write on a particular file f. f.write should be a sub-effect of fileSystem.write, which represents a write to any file in the file system.

This mirrors how a FileNotFoundException is a subclass of IOException in Java.

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

No branches or pull requests

1 participant