Merge pull request #175455 from michaelmouf/patch-1

Fix typo in compareLists docstring
This commit is contained in:
Robert Hensing 2022-05-31 16:01:16 +02:00 committed by GitHub
commit c532e8c44e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 == []