Fix typo in compareLists docstring

This commit is contained in:
michaelmouf 2022-05-30 12:14:45 +02:00 committed by GitHub
parent c29b1d9aba
commit b1aa4a7f25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -507,7 +507,7 @@ rec {
compareLists compare [ "a" ] []
=> 1
compareLists compare [ "a" "b" ] [ "a" "c" ]
=> 1
=> -1
*/
compareLists = cmp: a: b:
if a == []