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

Implicit module arguments #12

Open
yallop opened this issue Sep 19, 2014 · 0 comments
Open

Implicit module arguments #12

yallop opened this issue Sep 19, 2014 · 0 comments

Comments

@yallop
Copy link
Contributor

yallop commented Sep 19, 2014

Implicit module arguments are an alternative to implicit functors. Instead of

implicit functor M (A:X) (B:Y) = ...

we might write:

implicit module M (implicit A:X) (implicit B:Y) = ...

Both the module and the arguments are marked implicit here, but the idea is to separate the two, so that any module can have implicit arguments.

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

2 participants