Next: Several files recursively, Previous: lengths-list-file, Up: Words in a defun [Contents][Index]
defuns
in Different FilesIn the previous section, we created a function that returns a list of the lengths of each definition in a file. Now, we want to define a function to return a master list of the lengths of the definitions in a list of files.
Working on each of a list of files is a repetitious act, so we can use
either a while
loop or recursion.
• lengths-list-many-files | Return a list of the lengths of defuns. | |
• append | Attach one list to another. |