[Ecls-list] Almost ready for release

Gabriel Dos Reis gdr at integrable-solutions.net
Thu Feb 25 22:22:46 UTC 2010


On Thu, Feb 25, 2010 at 10:40 AM, Tobias C. Rittweiler <tcr at freebits.de> wrote:
> Juan Jose Garcia-Ripoll wrote
>
>> On Thu, Feb 25, 2010 at 12:11 PM, Tobias C. Rittweiler <tcr at freebits.de>wrote:
>>
>>> a) "In function COS, value of argument is" -- Isn't there something
>>>   missing in that part of the error message?
>>>
>>> b) (length 12) does not give such an informative error message, just a
>>>   boring "is not of type SEQUENCE"
>>>
>>
>> What about the example below? I have created a function,
>> FEwrong_type_nth_arg(), that outputs better error messages and register the
>> calling function with a debugger frame, in case it was not already there.
>> This way the message is nicer and the function appears in backtraces. I will
>> commit it once I finish testing it.
>>
>>> (cos 'a)
>>
>> In function COS, the value of the first argument is
>>   A
>> which is not of the expected type NUMBER
>
> I'd rather see the numeric value than the ordinal word, 1st, 2nd, 3rd
> and so on because it would stand out more.

I believe the information about the position of the argument
is very important -- if I have two numerical values that are wrong,
I clearly want to know which one.  So I suspect that argues for
*both* kind of information.




More information about the ecl-devel mailing list