whalliburton/Lisp-Academy — comment on commit 48d580a81723dd45b7bc73ca75d11dfe55a716c2
File: help.lisp line 6
By whalliburton:

Yea. I had a version that did a double pass to get the size but punted for
the sheer simplicity of the current version. Note that your version is not
correct because max is not the true max until the end of the loop while the
formats are firing earlier.

On Sun, Dec 4, 2011 at 12:40 PM, Brit Butler <
reply@reply.github.com
> wrote:

> First off, I either didn't know or had forgotten about the being each
> external-symbol in :package clause. Very cool!
>
> The ~28A bit in that format statement might not be good enough later. I've
> bumped into the same problem with shuffletron. Aggravating.
> An off the cuff shot at something different (better?):
>
> (loop for sym being each external-symbol in :academy
> maximizing (length (princ-to-string sym)) into max
> do (format t "~vA ~A~%" max sym (documentation sym
> 'function)))
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/whalliburton/Lisp-Academy/commit/48d580a81723dd45b7bc73ca75d11dfe55a716c2#commitcomment-767409
>