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

Create a reader for singleton declaration and it's members #4

Open
devcdcc opened this issue Aug 22, 2023 · 0 comments
Open

Create a reader for singleton declaration and it's members #4

devcdcc opened this issue Aug 22, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@devcdcc
Copy link
Owner

devcdcc commented Aug 22, 2023

They must complain about members' declarations with or without implementation.
example:

singleton None extends Monad[_]: // by context, where `?` means type validated in compilation type, By default Any.
	map(u => ?V): Self = self
	flatMap(_ => Monad[?V]) = self

	_apply(u: ?U): Monad[U] = MonadImpl(u)
@devcdcc devcdcc self-assigned this Aug 24, 2023
@devcdcc devcdcc added the enhancement New feature or request label Aug 24, 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
Projects
None yet
Development

No branches or pull requests

1 participant