[REBOL] Polymorphic Re:(2)

2000-01-27 Thread lmecir
Hi, I assume you meant: register 'minus [integer! complex!] [] [ make complex [ re: a - b/re im: - b/im ; not im: b/im ] ] Shouldn't the signatures look more like: signatures: [[integer! complex!] [complex! complex!]] Yes, thanks. I'm also a little

[REBOL] Polymorphic Re:(2)

2000-01-26 Thread lmecir
#3 Forward Polymorphic vs. Backward Polymorphic Well, the Solve code was meant only as an example of a more or less working approach. There is a use for something "more polymorphic" and "less polluting", IMHO. Glad to see the interesting discussion. About the C++ - like approach, where the

[REBOL] Polymorphic Re:(2)

2000-01-22 Thread joel . neely
[EMAIL PROTECTED] wrote: pif: func [ [throw] {polymorphic if with lazy evaluation and minimal checking} args [block!] ] [ while [not empty? args] [ args: do/next args either all [ not unset? first args first args ][