doc: Add type signature

This commit is contained in:
punkfairie 2024-11-25 19:44:52 -08:00
parent 75260eaa53
commit 23f7e8a3a6
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696

4
lib/default.nix Normal file
View file

@ -0,0 +1,4 @@
_: {
## (a -> {name :: String; value :: b}) -> [a] -> AttrSet
mapListToAttrs = fn: list: builtins.listToAttrs (builtins.map fn list);
}