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
#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
[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
][