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

[REBOL] Who is that grouch? -or- Fun with functions! Re:(10)

From: lmecir:geocities at: 6-Oct-2000 9:51

Hi, I am prepared to incorporate enhancements you suggest to Cheers Ladislav BTW, an RT (Referentially Transparent) version of: object/function/refinement1/.../refinementN arg1 ...argN call can be written (using Refined from above URL) as follows: do refined get in object 'function reduce [ 'refinement1 ...'refinementN ] arg1 ...argN (ugly), or, more efficiently (using RT function defined below): rt: function [block [block!]] [blk] [ do head change/only copy block to path! reduce first block ] as: rt [['object 'function 'refinement1 ... 'refinementN] arg1 ... argN] (MUCH more sexy).