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
1 changed files with 1 additions and 1 deletions

View File

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