[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] XML design of ((a and b) or c)
- From: Tei <oscar.vives@gmail.com>
- To: xml-dev@lists.xml.org
- Date: Wed, 13 Dec 2006 20:00:31 +0100
On 12/13/06, Richard Salz <rsalz@us.ibm.com> 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.
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]