flags
lib.misc.mergeAttrBy.flags
Docs pulled from | This Revision | 4 days ago
Merge two attribute sets shallowly, right side trumps left
mergeAttrs :: attrs -> attrs -> attrs
Inputs
x- 
Left attribute set
 y- 
Right attribute set (higher precedence for equal keys)
 
Examples
lib.trivial.mergeAttrs usage example
mergeAttrs { a = 1; b = 2; } { b = 3; c = 4; }
=> { a = 1; b = 3; c = 4; }
Noogle detected
- lib.mergeAttrs
 - lib.mergeAttrBy.cfg
 - lib.mergeAttrBy.flags
 - lib.mergeAttrBy.meta
 - lib.mergeAttrBy.passthru
 - lib.trivial.mergeAttrs
 - lib.misc.mergeAttrBy.cfg
 - lib.misc.mergeAttrBy.meta
 - lib.misc.mergeAttrBy.passthru
 
Implementation
The following is the current implementation of this function.
mergeAttrs = x: y: x // y;