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

Global switch for type checking mode #20

Closed
RussBaz opened this issue Aug 22, 2016 · 2 comments
Closed

Global switch for type checking mode #20

RussBaz opened this issue Aug 22, 2016 · 2 comments

Comments

@RussBaz
Copy link
Owner

RussBaz commented Aug 22, 2016

All the types are currently checked invariantly (i.e. it has to be the same as specified or it fails otherwise). This sometimes might not what our users expect. I think we should implement a global switch to change the type checking mode.

This switch should be able to specify whether type checking is: invariant, covariant, contravariant or bivariant.

@TheDataLeek
Copy link
Contributor

This should follow the config pattern we have already established, and it shouldn't be hard to add this as a feature.

@RussBaz
Copy link
Owner Author

RussBaz commented Sep 9, 2016

It has been implemented and merged into the dev branch. It will be available in 0.3.0 release (#25)

@RussBaz RussBaz closed this as completed Sep 9, 2016
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

2 participants