Skip to content

Commit b86d3c8

Browse files
author
Michael Reed
committed
switched ⋆ to unary-and-binary-op
1 parent 5efcf0b commit b86d3c8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

NEWS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ is thrown, rather than a `ErrorException` ([#27900]).
3232
* Functions that invoke commands (e.g. `run(::Cmd)`) now throw a `ProcessFailedException`
3333
rather than an `ErrorException`, if those commands exit with non-zero exit code.
3434
([#27900]).
35-
* Added `` (`\star`) as unary operator ([#31604]).
35+
* Added `` (`\star`) as unary and binary operator ([#31604]).
3636

3737
Command-line option changes
3838
---------------------------

src/julia-parser.scm

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@
102102
0))
103103

104104
(define unary-ops (append! '(|<:| |>:|)
105-
(add-dots '(+ - ! ~ ¬ √ ∛ ∜))))
105+
(add-dots '(+ - ! ~ ¬ √ ∛ ∜))))
106106

107107
(define unary-op? (Set unary-ops))
108108

109109
; operators that are both unary and binary
110-
(define unary-and-binary-ops '(+ - $ & ~ |.+| |.-|))
110+
(define unary-and-binary-ops '(+ - $ & ~ |.+| |.-|))
111111

112112
(define unary-and-binary-op? (Set unary-and-binary-ops))
113113

0 commit comments

Comments
 (0)