Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Rebol interpreter bug with comparison of dates

From: lmecir:mbox:vol:cz at: 5-Dec-2002 10:52

Hi Gabriele,
> So, I agree with you that comparison only makes sense to things > that can be ordered; however, due to its nature, REBOL will > actually order any value, even if this ordering is absolutely > arbitrary. You don't really want SORT to give back an error, and > once we have a function that can sort any couple of REBOL values, > we have an implicit (even if arbitrary) ordering relation between > all of the REBOL values.
just a little nitpicking: unfortunately, your comparison functions will not compare any Rebol values. You would have to work harder to achieve that. The trouble is with: 1) errors 2) cyclic series Some inspiration can be found in http://www.rebolforces.com/~ladislav/evaluation.html . As to whether it is useful to have such comparison: Some applications may need it, therefore it might be handy. Ciao -L