Skip to content

Commit

Permalink
added .⋆ to unary-and-binary-ops
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Reed committed Apr 4, 2019
1 parent 7c2fbf1 commit 9395215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/julia-parser.scm
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@
0))

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

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

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

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

Expand Down

0 comments on commit 9395215

Please sign in to comment.