This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bug in - (minus)


This code fails to compile:

(define (bug3 a)
  (- (sin a)))

This is what happens:

(compiling bug3.scm)
bug3.scm:1:2: call to '<op 119>(double,double)' has too few arguments
(1; must be 2)

Changing the function definition to (- 0 (sin a)) solves the problem.

Regards,


Are



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]