forked from lix-project/lix
Fix typo in example for builtin function map
This commit is contained in:
parent
3172c51baf
commit
05b13aff3d
|
@ -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