From 23f7e8a3a6c955f519c886677d87a328229fe7b2 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Mon, 25 Nov 2024 19:44:52 -0800 Subject: [PATCH] doc: Add type signature --- lib/default.nix | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 lib/default.nix diff --git a/lib/default.nix b/lib/default.nix new file mode 100644 index 0000000..6d1dce5 --- /dev/null +++ b/lib/default.nix @@ -0,0 +1,4 @@ +_: { + ## (a -> {name :: String; value :: b}) -> [a] -> AttrSet + mapListToAttrs = fn: list: builtins.listToAttrs (builtins.map fn list); +}