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

[REBOL] what gives: join [print 123][print "hello"] Re:

From: anton::globalcenter::net::au at: 14-Oct-2000 21:14

Join evaluates its second argument, but not its first argument. Seems inconsistent. Maybe it's that way because the first argument should not be evaluated yet because it might not make any sense until it is joined onto something. Or could it be that since the result of the join is going to be evaluated anyway, it is more efficient to take out one reduce step on the first argument, which makes the code more readable at the same time...(?) Just hunches. Anton. [agem--crosswinds--net] wrote: