[REBOL] Re: Rebol interpreter bug with comparison of dates
From: g:santilli:tiscalinet:it at: 4-Dec-2002 11:49
Hi Andrew,
On Wednesday, December 4, 2002, 4:24:42 AM, you wrote:
AM> I prefer being able to compare any-value with any-value. I think it's more
AM> versatile, as it enables one to write 'find -like functions that can find
safe-greater?: func [
"A GREATER? that works with all datatypes"
value1
value2
] [
greater? reduce [:value1] reduce [:value2]
]
safe-lesser?: func [
"A LESSER? that works with all datatypes"
value1
value2
] [
LESSER? reduce [:value1] reduce [:value2]
]
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r