Open utterances-bot opened 4 years ago
Hi, the following
for name = (request-name)
then (request-name)
can be only
for name = (request-name)
Since both the first round and subsequent ones are the same thing.
YMMV, the request-name can also use (read-line)
instead of (read)
and then the while
can check for (not (zerop (length name)))
. The example is asking for names which are most probably strings. it makes typing names easier and ending by entering empty name.
Still, thanks for the effort and congrats on approaching/reaching 100 posts.
regards,
Ala'a
Yeah, you are right!
Thank you for corrections!
By the way, you can make a pull-request to this repository, to fix examples on the site.
group-by
http://40ants.com/lisp-project-of-the-day/2020/06/0088-group-by.html