Howdy Ladislav and Elan:

           Not eager to jump into this fray, but:

> ... you cannot create a curried function in Rebol (- even
> though you can easily write it in Rebol), you cannot define
> a composition function, i.e. this:
> 
> o: func [f [function!] g [function!]] [func [x] [f g x]]

  Maybe I am missing the point, but what's wrong with:

composite: func ['f 'g][func [x] compose [(f) (g) x]]

   secfirst: composite first  second 
   thircond: composite second third

   secfirst ["abc" "def" "ghi"]
   == #"d"

   thircond ["abc" "def" "ghi"]
   == #"h"

  There are also various ways in REBOL to emulate curried
  functions.

  Sorry if I'm missing somehting, jumping in here.  Haven't
  really followed your thread very deeply so far, so please
  forgive me if I missed the mark.

  -jeff

Reply via email to