Skip to content

Commit

Permalink
Doc fix: use correct function name in type signature for concatIMapSt…
Browse files Browse the repository at this point in the history
…ringsSep
  • Loading branch information
Taneb authored Mar 18, 2019
1 parent b16f32a commit 8bf42f5
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 8bf42f5

Please sign in to comment.