Closed asinghvi17 closed 4 years ago
Very interesting. I'll revert that and look for why.
Let's see if this works - I think it might have been a macro issue.
I think this is one for the "cool hack" club:
julia> import Base.:/
julia> a::String/b::String = joinpath(a, b)
/ (generic function with 116 methods)
julia> 1/2
0.5
julia> @__DIR__/"a"
ERROR: syntax: "/" is not a unary operator
Stacktrace:
Function Module Signature
──────── ────── ─────────
[1] top-level scope
REPL[5]:0
julia> (@__DIR__) / "a"
"mydir/a"
perhaps joinpath
is better here?
Yes, I've reworked that to use joinpath
, and tests seem to pass. That example was just a hack which I remembered was possible.
The documentation build is failing because of a compat constraint. I'll add CompatHelper and adjust that.
good stuff!
rangescale
is unrecognized