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

Type aliases for computation types #650

Open
jiribenes opened this issue Oct 21, 2024 · 0 comments
Open

Type aliases for computation types #650

jiribenes opened this issue Oct 21, 2024 · 0 comments
Labels
feature New feature or request requires-design

Comments

@jiribenes
Copy link
Contributor

effect emit(n: Int): Unit
type Stream = () => Unit / emit

is currently not possible as far as I can tell, since type expects its RHS to be a value type, but this RHS is a computation type. However, I'm not sure this restriction is necessary and would like to lift it.

@jiribenes jiribenes added the feature New feature or request label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request requires-design
Projects
None yet
Development

No branches or pull requests

1 participant