CNMAT / CNMAT-odot

Multi-paradigm Dynamic Programming
Other
115 stars 11 forks source link

Expr language needs explicit logic operators #221

Closed maccallum closed 10 years ago

maccallum commented 10 years ago

binary and vector versions of the short-circuited and non-short-circuited versions of and, and or.

maccallum commented 10 years ago

We now have four functions:

and (&) andalso (&&) or (|) orelse (||)

The names are taken from ML, although that may not be the first language to use them. Algol 68's thef and elsf seemed too arcane, and I couldn't find any other languages that have function names for these.