merge_sorted multimethod

Methods

merge_sorted(a:Arr, b:Arr, lte:Fun) Source: stdlib.ngs:2267
Merge sorted arrays.

Parameters

lteLess-then-or-equal function to use for comparison of items in a and b

Returns

Arr

Example

merge_sorted([1,3,10], [0, 7], (<=))  # [0, 1, 3, 7, 10]