You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(define (array-intersection ars)
; copy first array
(var [result ((dot (ref ars 0) slice))])
; intersect the remaining arrays with the result array
(for ([a in-array ars]
[j in-naturals 0]) ; (sigh) don't use i here
(when (> j 0)
(:= result (string-array-intersection2 result a))))
result)
But if j is replaced with i the macro expansion is wrong.
The text was updated successfully, but these errors were encountered:
This works
But if
j
is replaced withi
the macro expansion is wrong.The text was updated successfully, but these errors were encountered: