amw1 has asked for the wisdom of the Perl Monks concerning the following question:
This would be the representation of the above in infix notation# user adds first clause [==,a,b] # implies if a == b, prefix notation # and a new clause [and,[==,a,b],[==,c,d]] # or a new clause [or,[and,[==,a,b],[==,c,d]],[==,e,f]] # and a new clause [or,[and,[==,a,b],[==,c,d]],[and,[==,e,f],[==,g,h]] etc
((a==b)and(c==d))or((e==f)and(g==h))
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: prefix notation in an array
by kvale (Monsignor) on Mar 26, 2004 at 07:10 UTC | |
|
Re: prefix notation in an array
by tzz (Monk) on Mar 26, 2004 at 14:28 UTC | |
|
Re: prefix notation in an array
by tsee (Curate) on Mar 26, 2004 at 14:56 UTC | |
by tsee (Curate) on Mar 26, 2004 at 15:18 UTC | |
by amw1 (Friar) on Mar 26, 2004 at 15:43 UTC |