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

[REBOL] Re: Why does 'reverse returns the tail of the block?

From: brett:codeconscious at: 13-Nov-2002 0:07

> However, maybe it is more common to have it chained with other > functions, where returning the series at the same position as the > argument would be more useful. What do you think?
If someone wants to chain it why not define a chainable reverse?
>> reverse0: func [value][reverse value value] >> reverse0 s: [ 1 2 3 4]
== [4 3 2 1] Regards, Brett.