in reply to Sorting, given only comparisions
First we list some "Truths" about our world, then we attempt to derive the truthfulness of other relationships, based on the principals of logical reasoning.
The dearth of answers here shows that perl doesn't intuitively behave this way. For logical programming languages, this problem is trivial (could probably be the first example in the intro book), because they are designed to solve exactly this type of problem.
Sorry I didn't address the actual question.... perhaps someting like Prolog is better suited for this. (Though I'm sure some clever person will work some sort of perl solution out...)
-Blake
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Sorting, given only comparisions
by Anonymous Monk on Sep 08, 2001 at 18:59 UTC | |
by ChemBoy (Priest) on Sep 08, 2001 at 21:22 UTC |