cakeml
cakeml copied to clipboard
Logical "&&" and "||" feature in Pancake
Having logical "and" and "or" for conditional statements in pancake would be a QoL improvement.
As far as I can tell, these already exist on the translation_update
branch. Only the syntax is &
and |
. Does that work for you on the latest binary from @mktnk3?
Yes, my apologies I was not aware this was added. I have just tested this and it seems to be working well
As discussed with @Kswin01 in private correspondence though, the ones we have currently are bitwise not logical. While @Kswin01 can make do with them for now, it seems a silly restriction not to have logical and/or, so reopening.
Fixed in #999