mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
Doc fix: use correct function name in type signature for concatIMapStringsSep
This commit is contained in:
parent
b16f32acd4
commit
8bf42f538e
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ rec {
|
||||||
/* Same as `concatMapStringsSep`, but the mapping function
|
/* Same as `concatMapStringsSep`, but the mapping function
|
||||||
additionally receives the position of its argument.
|
additionally receives the position of its argument.
|
||||||
|
|
||||||
Type: concatMapStringsSep :: string -> (int -> string -> string) -> [string] -> string
|
Type: concatIMapStringsSep :: string -> (int -> string -> string) -> [string] -> string
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
concatImapStringsSep "-" (pos: x: toString (x / pos)) [ 6 6 6 ]
|
concatImapStringsSep "-" (pos: x: toString (x / pos)) [ 6 6 6 ]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue