Merge pull request #7568 from willbush/patch-1
Fix typo in example for builtin function map
This commit is contained in:
commit
4e2b155d23
|
@ -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" ]`.
|
||||||
|
|
Loading…
Reference in a new issue