Next: Recursively Count Words in Different Files, Previous: lengths-list-file in Detail, Up: Counting 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.