summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/attrsets.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/attrsets.nix b/lib/attrsets.nix
index 0ce3aaeca45..5c787940cb0 100644
--- a/lib/attrsets.nix
+++ b/lib/attrsets.nix
@@ -243,6 +243,10 @@ rec {
   /* Call a function for each attribute in the given set and return
      the result in a list.
 
+     Type:
+       mapAttrsToList ::
+         (String -> a -> b) -> AttrSet -> [b]
+
      Example:
        mapAttrsToList (name: value: name + value)
           { x = "a"; y = "b"; }