@@ -108,32 +108,32 @@ end
108
108
Base. isempty (:: Interval ) =
109
109
throw (ArgumentError (" `isempty` is purposely not supported for intervals. See instead `isempty_interval`" ))
110
110
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`" ))
113
113
114
114
Base. isnan (:: Interval ) =
115
115
throw (ArgumentError (" `isnan` is purposely not supported for intervals. See instead `isnai`" ))
116
116
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`" ))
137
137
138
138
# pointwise equality
139
139
0 commit comments