I was just writing a test in the test dialect because I came across a stray resolved bug in rebol-issues while searching for remarks on DIFFERENCE of DATE!.
At first I almost made a mistake and wrote:
[
#1822
all [
12:00 = difference 13/1/2011/12:00 13/1/2011
12:00 = difference 13/1/2011/12:00 13/1/2011/0:0
]
]
For rigor, tests require all results to be actual logic true or false, not merely "truthy" or "falsey". In this case it wouldn't be that bad since it returns a true on success, and a BLANK! on failure, which would fail anyway. But I went to change it to use the ALL? form:
[
#1822
all? [
12:00 = difference 13/1/2011/12:00 13/1/2011
12:00 = difference 13/1/2011/12:00 13/1/2011/0:0
]
]
Then I thought about how annoying all these specializations are... ALL?, FIND?, etc. and contrasted the appearance with:
[
#1822
did all [
12:00 = difference 13/1/2011/12:00 13/1/2011
12:00 = difference 13/1/2011/12:00 13/1/2011/0:0
]
]
And I thought it felt more solid than ALL?. Where TO-LOGIC, TO LOGIC! and TRUTHY? look bad, it kind of works. So maybe we should take it seriously? Try it out for a while...contemplate it.