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

[REBOL] make list 0 versus make list [] Re:

From: galtbarber:mailandnews at: 28-Aug-2000 14:05

I am probably behind you all on this thread, but when I tried it I was surprised. Rebol may have always been this way and I just didn't notice before? Interesting!
>> make block! 0
== []
>> make list! 0
== make list! []
>> mold make list! [stuff and more stuff]
== "make list! [stuff and more stuff]"
>> mold make block! [stuff and more stuff]
== "[stuff and more stuff]" So there is a fundamental difference between them? I had thought the list would behave like block itself. When I see the list reported like that it reminds me of make object! in the way that mold or probe return it. -Galt