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
It would be convenient in many cases to be able to add a filtering condition to comprehensions, something like:
[ f(x) for x in 1:n if somecondition(x)]
where the resulting array only contains those x where somecondition(x) == true. This mirrors python's syntax.
The text was updated successfully, but these errors were encountered:
It would be convenient in many cases to be able to add a filtering condition to comprehensions, something like:
[ f(x) for x in 1:n if somecondition(x)]
where the resulting array only contains those x where somecondition(x) == true. This mirrors python's syntax.
The text was updated successfully, but these errors were encountered: