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

parse ¬ (\neg) as a prefix operator #7630

Merged
merged 1 commit into from
Jul 16, 2014
Merged

Conversation

stevengj
Copy link
Member

As discussed on julia-users, this patch parses ¬ as a prefix operator like !, although it doesn't define it by default (since ! is already perfectly good).

The main arguments for this, in my mind, are:

  • There is nothing sensible to do with ¬ except to parse it as a prefix operator.
  • We already parse the other logic symbols (e.g. ) as operators, so we might as well complete the set.

@jverzani also has a use-case in SymPy.

@StefanKarpinski
Copy link
Sponsor Member

+1

stevengj added a commit that referenced this pull request Jul 16, 2014
parse ¬ (\neg) as a prefix operator
@stevengj stevengj merged commit 0480f1b into JuliaLang:master Jul 16, 2014
@stevengj stevengj deleted the neg branch July 16, 2014 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:unicode Related to unicode characters and encodings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants