mirror of
https://github.com/janet-lang/janet
synced 2025-09-08 05:46:06 +00:00
Rename the := special form to set so it does not look like a keyword.
This commit is contained in:
@@ -9,6 +9,6 @@
|
||||
(def len (length list))
|
||||
(for j 0 len
|
||||
(def trial (get list j))
|
||||
(if (zero? (% i trial)) (:= isprime? false)))
|
||||
(if (zero? (% i trial)) (set isprime? false)))
|
||||
(if isprime? (array/push list i)))
|
||||
list)
|
||||
|
Reference in New Issue
Block a user