[Home] [By Thread] [By Date] [Recent Entries]

  • From: Tei <oscar.vives@g...>
  • To: xml-dev@l...
  • Date: Wed, 13 Dec 2006 20:00:31 +0100

On 12/13/06, Richard Salz <rsalz@u...> 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member