summary refs log tree commit diff
path: root/lib/attrsets.nix
diff options
context:
space:
mode:
authorTom Saeger <tom.saeger@gmail.com>2017-04-19 14:41:28 -0500
committerTom Saeger <tom.saeger@gmail.com>2017-04-19 19:37:55 -0500
commit5989515b9410f3d557e1aba037325a218f4338f5 (patch)
treec3edb273a11bf7625c56b1915b0ba0283ab5b133 /lib/attrsets.nix
parente662e035f9ed4d125c7534bc65e01fc73a0b0f62 (diff)
downloadnixpkgs-5989515b9410f3d557e1aba037325a218f4338f5.tar
nixpkgs-5989515b9410f3d557e1aba037325a218f4338f5.tar.gz
nixpkgs-5989515b9410f3d557e1aba037325a218f4338f5.tar.bz2
nixpkgs-5989515b9410f3d557e1aba037325a218f4338f5.tar.lz
nixpkgs-5989515b9410f3d557e1aba037325a218f4338f5.tar.xz
nixpkgs-5989515b9410f3d557e1aba037325a218f4338f5.tar.zst
nixpkgs-5989515b9410f3d557e1aba037325a218f4338f5.zip
lib: trivial spelling fixes
Diffstat (limited to 'lib/attrsets.nix')
-rw-r--r--lib/attrsets.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/attrsets.nix b/lib/attrsets.nix
index c686e1d20eb..d2946f6ca9c 100644
--- a/lib/attrsets.nix
+++ b/lib/attrsets.nix
@@ -116,7 +116,7 @@ rec {
     listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
 
 
-  /* Filter an attribute set recursivelly by removing all attributes for
+  /* Filter an attribute set recursively by removing all attributes for
      which the given predicate return false.
 
      Example:
@@ -334,7 +334,7 @@ rec {
       value = f name (catAttrs name sets);
     }) names);
 
-  /* Implentation note: Common names  appear multiple times in the list of
+  /* Implementation note: Common names  appear multiple times in the list of
      names, hopefully this does not affect the system because the maximal
      laziness avoid computing twice the same expression and listToAttrs does
      not care about duplicated attribute names.
@@ -353,7 +353,7 @@ rec {
   zipAttrs = zipAttrsWith (name: values: values);
 
   /* Does the same as the update operator '//' except that attributes are
-     merged until the given pedicate is verified.  The predicate should
+     merged until the given predicate is verified.  The predicate should
      accept 3 arguments which are the path to reach the attribute, a part of
      the first attribute set and a part of the second attribute set.  When
      the predicate is verified, the value of the first attribute set is