concatAttrValues
lib.lists.concatAttrValues
Docs pulled from | This Revision | about 2 hours ago
Concatenate all attributes of an attribute set. This assumes that every attribute of the set is a list.
Inputs
set-
Attribute set with attributes that are lists
Type
concatAttrValues :: { [String] :: [a] } -> [a]
Examples
lib.concatAttrValues usage example
concatAttrValues { a = [ 1 2 ]; b = [ 3 ]; }
=> [ 1 2 3 ]
Noogle detected
Implementation
The following is the current implementation of this function.
concatAttrValues = set: concatLists (attrValues set);