Merge pull request #7568 from willbush/patch-1

Fix typo in example for builtin function map
This commit is contained in:
Théophane Hufschmitt 2023-01-07 07:07:53 +01:00 committed by GitHub
commit 4e2b155d23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2807,7 +2807,7 @@ static RegisterPrimOp primop_map({
example, example,
```nix ```nix
map (x"foo" + x) [ "bar" "bla" "abc" ] map (x: "foo" + x) [ "bar" "bla" "abc" ]
``` ```
evaluates to `[ "foobar" "foobla" "fooabc" ]`. evaluates to `[ "foobar" "foobla" "fooabc" ]`.