* Function concatMapStrings.
svn path=/nixpkgs/trunk/; revision=10681
This commit is contained in:
parent
ec88df39cc
commit
3be8e7c28e
|
@ -56,6 +56,8 @@ rec {
|
|||
# Map and concatenate the result.
|
||||
concatMap = f: list: concatLists (map f list);
|
||||
|
||||
concatMapStrings = f: list: pkgs.lib.concatStrings (map f list);
|
||||
|
||||
|
||||
# Place an element between each element of a list, e.g.,
|
||||
# `intersperse "," ["a" "b" "c"]' returns ["a" "," "b" "," "c"].
|
||||
|
|
Loading…
Reference in New Issue