-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
Reflection / runtime type introspection #507
Comments
Are you imagining something like the following? > S.even.types.length
2
> S.even.types[0] === $.Integer
true
> S.even.types[1] === $.Boolean
true |
Yes, or maybe via |
Actually, I can't imagine an Maybe a way to get arguments that were passed to |
Looks good. It seems that if this gets implemented, type classes could then check method signatures (at the moment they only seem to check if methods exist). Is this desirable? |
I think the function signature (as in
S.even.toString()
) should be accessible programmatically as a first-class thing (not a string), maybe behind a new option of$.create
.The text was updated successfully, but these errors were encountered: