Hello list,

I think that `-' and `/' should issue wrong-number-args errors instead
of the following.

 guile> (-)
 <unnamed port>:1:1: In procedure - in expression (-):
 <unnamed port>:1:1: Wrong type argument in position 1: #<undefined>
 ABORT: (wrong-type-arg)

 Type "(backtrace)" to get more information or "(debug)" to enter the debugger.
 guile> (/)
 <unnamed port>:2:1: In procedure / in expression (/):
 <unnamed port>:2:1: Wrong type argument in position 1: #<undefined>
 ABORT: (wrong-type-arg)

I am not sure how to fix this, because of the generic function
dispatch stuff.  Should there be a dispatch for a wrong number of
arguments too, or just a call to SCM_WRONG_NUM_ARGS?

Regards,
  'martin

_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile

Reply via email to