Skip to content

Commit

Permalink
Merge pull request #57854 from Taneb/patch-1
Browse files Browse the repository at this point in the history
Doc fix: use correct function name in type signature for concatIMapStringsSep
  • Loading branch information
grahamc authored Mar 18, 2019
2 parents b16f32a + 8bf42f5 commit 107d9bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/strings.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand Down

0 comments on commit 107d9bc

Please sign in to comment.