@@ -108,32 +108,32 @@ end
108108Base. isempty (:: Interval ) =
109109 throw (ArgumentError (" `isempty` is purposely not supported for intervals. See instead `isempty_interval`" ))
110110
111- # Base.isfinite(::Interval) = # also returned when calling `isinf`
112- # throw(ArgumentError("`isfinite` is purposely not supported for intervals. See instead `isbounded`"))
111+ Base. isfinite (:: Interval ) = # also returned when calling `isinf`
112+ throw (ArgumentError (" `isfinite` is purposely not supported for intervals. See instead `isbounded`" ))
113113
114114Base. isnan (:: Interval ) =
115115 throw (ArgumentError (" `isnan` is purposely not supported for intervals. See instead `isnai`" ))
116116
117- # Base.intersect(::Interval) =
118- # throw(ArgumentError("`intersect` is purposely not supported for intervals. See instead `intersect_interval`"))
119-
120- # Base.union!(::BitSet, ::Interval) = # needed to resolve ambiguity
121- # throw(ArgumentError("`union!` is purposely not supported for intervals. See instead `hull`"))
122- # Base.union!(::AbstractSet, ::Interval) = # also returned when calling `intersect`, `symdiff` with intervals
123- # throw(ArgumentError("`union!` is purposely not supported for intervals. See instead `hull`"))
124- # Base.union!(::AbstractVector{S}, ::Interval) where {S} =
125- # throw(ArgumentError("`union!` is purposely not supported for intervals. See instead `hull`"))
126- # Base.union!(::AbstractVector{S}, ::Interval, ::Any, ::Any...) where {S} =
127- # throw(ArgumentError("`union!` is purposely not supported for intervals. See instead `hull`"))
128- # Base.union!(::AbstractVector{S}, ::Interval, ::Interval, ::Any...) where {S} =
129- # throw(ArgumentError("`union!` is purposely not supported for intervals. See instead `hull`"))
130- # Base.union!(::AbstractVector{S}, ::Any, ::Interval, ::Any...) where {S} =
131- # throw(ArgumentError("`union!` is purposely not supported for intervals. See instead `hull`"))
132-
133- # Base.setdiff(::Interval) =
134- # throw(ArgumentError("`setdiff` is purposely not supported for intervals. See instead `interiordiff`"))
135- # Base.setdiff!(::AbstractSet, ::Interval) =
136- # throw(ArgumentError("`setdiff!` is purposely not supported for intervals. See instead `interiordiff`"))
117+ Base. intersect (:: Interval ) =
118+ throw (ArgumentError (" `intersect` is purposely not supported for intervals. See instead `intersect_interval`" ))
119+
120+ Base. union! (:: BitSet , :: Interval ) = # needed to resolve ambiguity
121+ throw (ArgumentError (" `union!` is purposely not supported for intervals. See instead `hull`" ))
122+ Base. union! (:: AbstractSet , :: Interval ) = # also returned when calling `intersect`, `symdiff` with intervals
123+ throw (ArgumentError (" `union!` is purposely not supported for intervals. See instead `hull`" ))
124+ Base. union! (:: AbstractVector{S} , :: Interval ) where {S} =
125+ throw (ArgumentError (" `union!` is purposely not supported for intervals. See instead `hull`" ))
126+ Base. union! (:: AbstractVector{S} , :: Interval , :: Any , :: Any... ) where {S} =
127+ throw (ArgumentError (" `union!` is purposely not supported for intervals. See instead `hull`" ))
128+ Base. union! (:: AbstractVector{S} , :: Interval , :: Interval , :: Any... ) where {S} =
129+ throw (ArgumentError (" `union!` is purposely not supported for intervals. See instead `hull`" ))
130+ Base. union! (:: AbstractVector{S} , :: Any , :: Interval , :: Any... ) where {S} =
131+ throw (ArgumentError (" `union!` is purposely not supported for intervals. See instead `hull`" ))
132+
133+ Base. setdiff (:: Interval ) =
134+ throw (ArgumentError (" `setdiff` is purposely not supported for intervals. See instead `interiordiff`" ))
135+ Base. setdiff! (:: AbstractSet , :: Interval ) =
136+ throw (ArgumentError (" `setdiff!` is purposely not supported for intervals. See instead `interiordiff`" ))
137137
138138# pointwise equality
139139
0 commit comments