We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
augment the function and define specials to support optional typing hints
function
define
potential examples
(define [foo :type int] 100) (def function [do-something :type int] [[a type: str] [b type: int] [c: "Hello" type: str]] ... )
potentially this could augment the existing binding spec as well
(let [[foo as: inner-foo type: int] [(do-something 9) as: bar type: Any] [food 'tacos type: symbol]] ...)
The text was updated successfully, but these errors were encountered:
As a side-effect, the augmented function syntax might also be the right way to do decorators.
Sorry, something went wrong.
No branches or pull requests
augment the
function
anddefine
specials to support optional typing hintspotential examples
potentially this could augment the existing binding spec as well
The text was updated successfully, but these errors were encountered: