[Ecls-list] Almost ready for release

Tobias C. Rittweiler tcr at freebits.de
Thu Feb 25 16:40:36 UTC 2010


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.

  -T.





More information about the ecl-devel mailing list