Closed eloualiche closed 1 year ago
Please try
julia> import IntervalSets:(..)
julia> ..
.. (generic function with 1 method)
I found official documentation about this parenthesis.
A small number of operators additionally require parentheses, e.g.
Base.:(==)
.
https://docs.julialang.org/en/v1/manual/modules/
EDIT: this documentation is less relevant to this topic.
julia> IntervalSets.:(..)
.. (generic function with 1 method)
julia> IntervalSets.:.. # This is okay
.. (generic function with 1 method)
julia> Base.:(==)
== (generic function with 180 methods)
julia> Base.:==
ERROR: syntax: incomplete: premature end of input
Stacktrace:
[1] top-level scope
Thank you. I missed this part of the documentation! This is helpful.
I have a quick silly question. I cannot figure how to only import
..
for a package.Basically I have tried
import IntervalSets: ..
but this is not quite correct.Thanks