added concatImapStrings function

svn path=/nixpkgs/trunk/; revision=28673
This commit is contained in:
Rob Vermaas 2011-08-19 02:42:34 +00:00
parent 25fd505136
commit e6e11e4b04

View file

@ -16,6 +16,7 @@ rec {
# Map a function over a list and concatenate the resulting strings.
concatMapStrings = f: list: concatStrings (map f list);
concatImapStrings = f: list: concatStrings (lib.imap f list);
# Place an element between each element of a list, e.g.,