mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 15:43:01 +00:00 
			
		
		
		
	Update boot.janet
This commit is contained in:
		| @@ -787,7 +787,7 @@ | ||||
|  | ||||
| (defn sort-by | ||||
|   ``Returns `ind` sorted by calling | ||||
|   a function `f` on each element and comparing the result with <.`` | ||||
|   a function `f` on each element and comparing the result with `<`.`` | ||||
|   [f ind] | ||||
|   (sort ind (fn [x y] (< (f x) (f y))))) | ||||
|  | ||||
| @@ -801,7 +801,7 @@ | ||||
|  | ||||
| (defn sorted-by | ||||
|   ``Returns a new sorted array that compares elements by invoking | ||||
|   a function `f` on each element and comparing the result with <.`` | ||||
|   a function `f` on each element and comparing the result with `<`.`` | ||||
|   [f ind] | ||||
|   (sorted ind (fn [x y] (< (f x) (f y))))) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 John Gabriele
					John Gabriele