What is Nostr?
Zachary D'Anthony /
npub184e…w6ek
2024-06-04 22:15:59

Zachary D'Anthony on Nostr: Today I learned that I don't understand Loop at all. (loop for y = 0 then z for x ...

Today I learned that I don't understand Loop at all.

(loop for y = 0 then z
for x from 1 to 5
sum 1 into z
finally (return (values y z)))
;; => 5
;; 5

(loop for x from 1 to 5
for y = 0 then z
sum 1 into z
finally (return (values y z)))
;; => 4
;; 5


#lisp
Author Public Key
npub184ejnrlc3p2whr4xpkxk72slwu9pfvtfg0zzv3wvk6963gtz2wnqw7w6ek