mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
Fix typo in compareLists docstring
This commit is contained in:
parent
c29b1d9aba
commit
b1aa4a7f25
@ -507,7 +507,7 @@ rec {
|
|||||||
compareLists compare [ "a" ] []
|
compareLists compare [ "a" ] []
|
||||||
=> 1
|
=> 1
|
||||||
compareLists compare [ "a" "b" ] [ "a" "c" ]
|
compareLists compare [ "a" "b" ] [ "a" "c" ]
|
||||||
=> 1
|
=> -1
|
||||||
*/
|
*/
|
||||||
compareLists = cmp: a: b:
|
compareLists = cmp: a: b:
|
||||||
if a == []
|
if a == []
|
||||||
|
Loading…
Reference in New Issue
Block a user