We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 473e09e + 59b13f6 commit f6cb7c1Copy full SHA for f6cb7c1
src/deparse.jl
@@ -2,7 +2,7 @@ function deparse(ex::Expr)
2
if ex.head != :call
3
return string(ex)
4
else
5
- if contains([:+, :-, :*, :/, :^], ex.args[1])
+ if ex.args[1] in [:+, :-, :*, :/, :^]
6
if length(ex.args) == 2
7
return string(ex.args[1], deparse(ex.args[2]))
8
0 commit comments