This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Bug in - (minus)
- From: "Are Meisfjord" <are at meisfjord dot com>
- To: kawa at sources dot redhat dot com
- Date: Wed, 16 Apr 2003 07:32:58 +0200
- Subject: 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