mirror of
https://github.com/janet-lang/janet
synced 2025-11-09 20:13:02 +00:00
(and ... <truthy-value> true) will return true as per docs.
This commit is contained in:
@@ -280,7 +280,7 @@
|
||||
(while (> i 0)
|
||||
(-- i)
|
||||
(def v (in forms i))
|
||||
(set ret (if (= ret true)
|
||||
(set ret (if (= i (- len 1))
|
||||
v
|
||||
(if (idempotent? v)
|
||||
['if v ret v]
|
||||
|
||||
Reference in New Issue
Block a user