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