File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,13 @@ extensions are dealt with_):
183
183
particular way of building regular functions with a few extra
184
184
methods/properties._
185
185
186
+ 7 . Behaviour for unexpected/invalid input to functions and methods.
187
+
188
+ _ Rationale: there are a huge amount of ways in which users can provide
189
+ invalid or unspecified input to functionality in the standard. Exception
190
+ types or other resulting behaviour cannot be completely covered and would
191
+ be hard to make consistent between libraries._
192
+
186
193
187
194
** Non-goals** for the API standard include:
188
195
@@ -200,6 +207,13 @@ extensions are dealt with_):
200
207
library switches from one array type to another, some testing and possibly
201
208
code adjustment for performance or other reasons may be needed._
202
209
210
+ - Making it possible to mix multiple array libraries in function calls.
211
+
212
+ _ Most array libraries do not know about other libraries, and the functions
213
+ they implement may try to convert "foreign" input, or raise an exception.
214
+ This behaviour is hard to specify; ensuring only a single array type is
215
+ used is best left to the end user._
216
+
203
217
204
218
### TBD whether or not in scope, or for a later version
205
219
You can’t perform that action at this time.
0 commit comments