[REBOL] Re: function to object?

2003-11-07 Thread Didec
PROTECTED]> > Sent: Wednesday, November 05, 2003 5:26 PM > Subject: [REBOL] Re: function to object? > > -- snip-- > > A collegue once described to me his moment of enlightenment when a > > professor had drawn on the blackboard a table showing relationships > > between so

[REBOL] Re: function to object?

2003-11-05 Thread Jason Cunliffe
Thanks for that wonderful post -- all of it ! - Jason - Original Message - From: "Joel Neely" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 05, 2003 5:26 PM Subject: [REBOL] Re: function to object? -- snip-- > A collegue once desc

[REBOL] Re: function to object?

2003-11-05 Thread Joel Neely
Hi, Bryan, bryan wrote: > Am reading a little rant against object orientation > http://www.bluetail.com/~joe/vol1/v1_oo.html > "Rant" being the operative word. One can tell from the title that this is somebody venting his spleen and not contributing to any objective discussion of programming s

[REBOL] Re: function to object?

2003-11-05 Thread Volker Nitsch
Am Mittwoch, 5. November 2003 13:53 schrieb bryan: > Am reading a little rant against object orientation > http://www.bluetail.com/~joe/vol1/v1_oo.html > > When suddenly I wondered, can one convert a function to an object in > rebol? means what? f: func[][alert "hi"] o: context[f: none] o/f: :f o

[REBOL] Re: function to object?

2003-11-05 Thread SunandaDH
Bryan: > When suddenly I wondered, can one convert a function to an object in > rebol? You can easily *add* a function to an object. a-function: func [a b /local c] [c: a + b print c] a-function 19 21 ;; test it works an-object: make object! [a-function-in-an-object: :a-function] an-ob