Doc fix: use correct function name in type signature for concatIMapStringsSep

This commit is contained in:
Nathan van Doorn 2019-03-18 12:14:39 +00:00 committed by GitHub
parent b16f32acd4
commit 8bf42f538e
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 ]