@wilfredh
It’s somewhat bad. I prefer the name andf for the eager version of and.
Both have their uses.
Sometimes you need and, sometimes you need andf (to implement list masks, just map andf), and sometimes either works fine. As an example of the latter,
(and (even? foo) (big? foo)) returns the same val as the andf equivalent but is cheaper if big? is expensive.
However, I definitively rely on the laziness of and often. As, using it as control flow with implicit branching.
Sandra@Sandra@idiomdrottning.org
@wilfredh
To me, coming from shell where
foo && bar && baz && quux || frotz && xyzzy
is a very good and useful construct, I expect the same out of the form version of and and or.
Sandra@Sandra@idiomdrottning.org
@wilfredh
(or (expensive-option1) (expensive-option2) (expensive-option3))
Sandra@Sandra@idiomdrottning.org
@wilfredh I thought Lisp 'and' would be defined on a list of arguments, and not just two.
YesBait@yesbait@bsd.network