3 ms·
Thanks. > I'm not sure what "new names for variables" means here. All the examples I could find were of the template (when-let ((name1 scalar1)
by WalterGR 8y ago
Thanks.
> I'm not sure what "new names for variables" means here.
All the examples I could find were of the template
(when-let ((name1 scalar1)
(name2 scalar2)
...)
where presumably the `scalar`s were standins for existing named bindings. Same for `if-let`.
I wasn't awake enough to contemplate that the `scalar`s above could probably be arbitrary expressions.
But skimming your blog post again, I do see this example about half-way through:
(let* ((name (read-string))
(length (length name)))
; ...
)