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

Accepting default values for function parameters. #37

Open
Droogans opened this issue Feb 11, 2013 · 1 comment
Open

Accepting default values for function parameters. #37

Droogans opened this issue Feb 11, 2013 · 1 comment

Comments

@Droogans
Copy link

After searching for how to apply default values for function parameters, I was pointed to a great example of some code here.

I am quite new to the language, so I won't go posting the first solution I find, but the above example seems very clear to me. Hopefully this will generate some discussion on how best to accomplish this.

@Droogans
Copy link
Author

Clojurescript is also suggesting doing it this way. ctrl + f for "Named Parameters & Defaults":

http://himera.herokuapp.com/synonym.html

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

1 participant