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

Suggestion: support default values other than nil #1

Open
JulianBirch opened this issue Dec 5, 2011 · 2 comments
Open

Suggestion: support default values other than nil #1

JulianBirch opened this issue Dec 5, 2011 · 2 comments

Comments

@JulianBirch
Copy link

I quite often use records to represent state, and being able to default out (atom []) would be useful.

Something resembling the :or destructuring syntax would make sense, I think.

@david-mcneil
Copy link
Owner

Agreed, I have wanted this too.

1 similar comment
@david-mcneil
Copy link
Owner

Agreed, I have wanted this too.

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