On 2/23/06, Jonathan Lang wrote:
(Another possibility would be to return a list of every possible
result when in list context, with the result that you'd get in scalar
context being element zero of the list. This even has its uses wrt
sqrt(Num), providing a two-element list of the positive
David Green wrote:
On 2/23/06, Jonathan Lang wrote:
(Another possibility would be to return a list of every possible
result when in list context, with the result that you'd get in scalar
context being element zero of the list. This even has its uses wrt
sqrt(Num), providing a two-element
Author: autrijus
Date: Tue Feb 28 07:22:23 2006
New Revision: 7898
Modified:
doc/trunk/design/syn/S05.pod
Log:
* S05: Generalizing +$/ and ~$/ delegating to $(), by stipulating
that all explicit coercion forms, except for boolean, dispatch
from Match to its result object.
Modified:
Mark A. Biggar wrote:
For the complex trig functions the result set is infinite with no
obvious order to return the list in even lazily that provides anything
useful.
Technically, the result set is one element (the principle value),
since a mathematical function - by definition - produces a
Doug McNutt wrote:
Jonathan Lang wrote:
Technically, the result set is one element (the principle value),
since a mathematical function - by definition - produces a single
result for any given input.
Please be careful of definitions like that. Computer science has quite
different ideas