diff --git a/doc/functions/library/attrsets.xml b/doc/functions/library/attrsets.xml index da73e02e0561..a719b7958458 100644 --- a/doc/functions/library/attrsets.xml +++ b/doc/functions/library/attrsets.xml @@ -1452,7 +1452,8 @@ lib.attrsets.zipAttrsWithNames Merge sets of attributes and use the function f to merge - attribute values. Similar to where all key names are passed for names. @@ -1520,4 +1521,46 @@ lib.attrsets.zipAttrsWith ]]> + +
+ <function>lib.attrsets.zipAttrs</function> + + zipAttrsWith :: [ AttrSet ] -> AttrSet + + + + + + Merge sets of attributes and combine each attribute value in to a list. + Similar to + where the merge function returns a list of all values. + + + + + + sets + + + + A list of attribute sets to zip together. + + + + + + + Combining a list of attribute sets + { a = [ 1 10 ]; b = [ 1 100 ]; c = [ 1 1000 ]; } + ]]> + +