diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2019-03-23 09:18:41 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-03-23 09:18:41 +0100 |
commit | b40d7528726cc97cf17ba6944842dc7975e60b4b (patch) | |
tree | 3079ee4822b3c1aafe34547169c4aa4a41417dc4 /lib | |
parent | 04066403aef0fe8c1b8123f862ed9f58f04583f7 (diff) | |
parent | 2cc644411361fcdde9c9b3b84d1ddd8d87c435af (diff) | |
download | nixpkgs-b40d7528726cc97cf17ba6944842dc7975e60b4b.tar nixpkgs-b40d7528726cc97cf17ba6944842dc7975e60b4b.tar.gz nixpkgs-b40d7528726cc97cf17ba6944842dc7975e60b4b.tar.bz2 nixpkgs-b40d7528726cc97cf17ba6944842dc7975e60b4b.tar.lz nixpkgs-b40d7528726cc97cf17ba6944842dc7975e60b4b.tar.xz nixpkgs-b40d7528726cc97cf17ba6944842dc7975e60b4b.tar.zst nixpkgs-b40d7528726cc97cf17ba6944842dc7975e60b4b.zip |
Merge master into staging-next
Diffstat (limited to 'lib')
-rw-r--r-- | lib/strings.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strings.nix b/lib/strings.nix index 47c881cfbc7..ae0d74c6721 100644 --- a/lib/strings.nix +++ b/lib/strings.nix @@ -90,7 +90,7 @@ rec { /* Same as `concatMapStringsSep`, but the mapping function additionally receives the position of its argument. - Type: concatMapStringsSep :: string -> (int -> string -> string) -> [string] -> string + Type: concatIMapStringsSep :: string -> (int -> string -> string) -> [string] -> string Example: concatImapStringsSep "-" (pos: x: toString (x / pos)) [ 6 6 6 ] |