@fosskers
(defun eg (x)
(let* ((nos (scan-range))
(fizz-src (series 'fizz))
(buzz-src (series 'buzz))
(by3s (scan-range :from 0 :by 3))
(by5s (Scan-range :from 0 :by 5))
(fizzes (mask by3s))
(buzzes (mask by5s))
(fizz/buzzes (#Mlist (#Mand fizzes fizz-src)
(#Mand buzzes buzz-src))))
(list (collect-nth x (#Mand fizzes fizz-src))
(collect-nth x (#Mand buzzes buzz-src))
(collect-nth x nos))))
Oh if I don't tell it to cons, it's faster than loop.
https://mastodon.sdf.org/@screwtape/113496040152197566
No replies.
────
────