Merge pull request #57854 from Taneb/patch-1

Doc fix: use correct function name in type signature for concatIMapStringsSep
This commit is contained in:
Graham Christensen 2019-03-18 08:18:47 -04:00 committed by GitHub
commit 107d9bcfcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ]