diff options
author | Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | 2023-01-07 07:07:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-07 07:07:53 +0100 |
commit | 4e2b155d2346f1abeef7cf7ee8a076e884fba15d (patch) | |
tree | aa69af3b17a829a6569062862c9be5762dfd0b9e | |
parent | 3172c51baff5c81362fcdafa2e28773c2949c660 (diff) | |
parent | 05b13aff3d33fe1fae38d092ac9b30976e26dd58 (diff) |
Merge pull request #7568 from willbush/patch-1
Fix typo in example for builtin function map
-rw-r--r-- | src/libexpr/primops.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 9356d307e..9ef91cbc5 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -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" ]`. |