Fix typo in example for builtin function map

This commit is contained in:
Will Bush 2023-01-06 23:04:43 -06:00 committed by GitHub
parent 3172c51baf
commit 05b13aff3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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" ]`.