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

Add cond to dollar operator #33

Closed
wants to merge 1 commit into from
Closed

Add cond to dollar operator #33

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Oct 16, 2020

Resolves #32

@ghost
Copy link
Author

ghost commented Oct 16, 2020

This is for #32

@ghost
Copy link

ghost commented Oct 16, 2020

Well spotted! However, Cond was removed from the list of operators a while ago because it is not a function, but a control structure, like do. Although it looks like a ternary operator and returns a result, It is not applied to arguments, but (like if) to a list of ≥3 expressions, only some of which are evaluated. It is not possible to project Cond.

So Cond is listed with the other control structures: do, if and while.

@ghost ghost closed this Oct 16, 2020
This pull request was closed.
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

Successfully merging this pull request may close these issues.

cond is missing for dollar operator in Reference Card doesn't mention cond
0 participants