let inherit (builtins) concatStringsSep attrNames; in builtinsInfo: let showBuiltin = name: let inherit (builtinsInfo.${name}) doc args; in ''
${name} ${listArgs args}
${doc}
''; listArgs = args: concatStringsSep " " (map (s: "${s}") args); in concatStringsSep "\n" (map showBuiltin (attrNames builtinsInfo))