`&` does not appear to shortcircuit but `&&` does not work, is ther

& does not appear to shortcircuit but && does not work, is there another operator for broadcasted short-circuiting logical AND?

Note that the poster on Slack cannot see your response here on Discourse. Consider answering the question there or pinging the poster here on Discourse so they see the reponse.
(Original message :slack:)

The answer, as per slack, is that && is not a really a function, but is rather a “core syntax” of the language.

This comes with certain limitations, && cannot be broadcasted. A solution is to use map, or broadcast, i.e.

((x, y) -> (x && y)).(a, b)
3 Likes

@carstenbauer, it looks like BridgeBot is incorrectly translating special characters like & as HTML entities like &?

2 Likes

Yes, I have an issue open here: GitHub - JuliaCommunity/SlackBridge will investigate.

1 Like