-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
In himera/resources/public/synonym.html, as far as I understand, I think the following comment should say values after 0 haven't been looked at as zero? (0 % 5) is true:
(def numbers [0 1 2 3 4 5 6 7 8 9 10])
(def filtered
(filter #(zero? (rem % 5)) numbers))
(def firstn (first filtered))
;; lazy filter, values after 5 haven't
;; been looked at
Should be:
;; lazy filter, values after 0 haven't
;; been looked at
If the code really looks at the values up to 5, what do you think about adding a comment explaining why first looks at values up to the second occurrence?
Thanks.
Metadata
Metadata
Assignees
Labels
No labels