Commit 7e4f9c5
IEx h: sort results by arity (#8727)
The results were not sorted, when calling:
h Module.function_name
Example:
```
iex)> h :erlang.float_to_binary
:erlang.float_to_binary/2
@SPEC float_to_binary(float, options) :: binary()
when float: float(),
options: [option],
option:
{:decimals, decimals :: 0..253}
| {:scientific, decimals :: 0..249}
| :compact
Module was compiled without docs. Showing only specs.
:erlang.float_to_binary/1
@SPEC float_to_binary(float) :: binary() when float: float()
Module was compiled without docs. Showing only specs.
```
Now the results are sorted by arity.1 parent b37ecb0 commit 7e4f9c5
2 files changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
286 | 287 | | |
287 | 288 | | |
288 | 289 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
346 | 352 | | |
347 | 353 | | |
348 | 354 | | |
| |||
352 | 358 | | |
353 | 359 | | |
354 | 360 | | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| |||
0 commit comments