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

[REBOL] Not good for the rebolution

From: rebol665:ifrance at: 20-Sep-2002 11:03

Hi Andrew, Andrew wrote :
>> if test/2 = 'false [ print "ok" ]
Thanks Andrew but I am not looking for a workaround and furthermore even a newbie can tell that 'false is not a logic (so this syntax will not come easily). See the following :
>> test: [false false false]
== [false false false]
>> if not test/2 [print "item 2 is false"]
== none I am not telling that Rebol is wrong. I am telling that there are some gotchas, like this one, for which the documentation is not very helpfull. And in my opinion, the List could find a way to change that. Patrick