On 12/13/06, Richard Salz <> wrote:
> > blame stephen bourne (i think he started this).
> >
> > The famous sh script: programA && programB etc where programB is only
> > run if programA returns true.
>
> Nope, it was a C thing. (The Bourne shell implemented the sort-circuit
> operators, but itself was implemented in Algol-like C;
> http://minnie.tuhs.org/UnixTree/V7/usr/src/cmd/sh/cmd.c.html)
>
> /r$
Sort-circuit is a life saver in a world with the dreaded division by
zero error/exception
Also, prolog has que simbol ! that stop the recursive search. If
prolog is anything like a xml rules engine, having sort circuit rules,
and maybe symbols, made sense.