summary refs log tree commit diff
diff options
context:
space:
mode:
authorNathan van Doorn <nvd1234@gmail.com>2019-03-18 12:14:39 +0000
committerGitHub <noreply@github.com>2019-03-18 12:14:39 +0000
commit8bf42f538e562bf6dac8affeab8b2c9c62a0d839 (patch)
tree4c862e1dd6d0ab731c4b6d7cb0a7bf77f1e32c96
parentb16f32acd426d6942e57ab59a999ad22aee5c62a (diff)
downloadnixpkgs-8bf42f538e562bf6dac8affeab8b2c9c62a0d839.tar
nixpkgs-8bf42f538e562bf6dac8affeab8b2c9c62a0d839.tar.gz
nixpkgs-8bf42f538e562bf6dac8affeab8b2c9c62a0d839.tar.bz2
nixpkgs-8bf42f538e562bf6dac8affeab8b2c9c62a0d839.tar.lz
nixpkgs-8bf42f538e562bf6dac8affeab8b2c9c62a0d839.tar.xz
nixpkgs-8bf42f538e562bf6dac8affeab8b2c9c62a0d839.tar.zst
nixpkgs-8bf42f538e562bf6dac8affeab8b2c9c62a0d839.zip
Doc fix: use correct function name in type signature for concatIMapStringsSep
-rw-r--r--lib/strings.nix2
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 ]