chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] Bug in numbers egg (perhaps in scrutiny)


From: John Cowan
Subject: [Chicken-hackers] Bug in numbers egg (perhaps in scrutiny)
Date: Sun, 11 Jan 2015 01:38:24 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

The following script works correctly in csi, but produces a warning in csc:

(use numbers)
(define (foo x) (odd? x))

The output is as follows:

Warning: in toplevel procedure `foo':
  (foo.scm:2) in procedure call to `numbers#odd?', expected 2 arguments, but 
was given 1 argument

If you comment out "(use numbers)", there is no warning.

-- 
John Cowan          http://www.ccil.org/~cowan        address@hidden
We do, doodley do, doodley do, doodley do,
What we must, muddily must, muddily must, muddily must;
Muddily do, muddily do, muddily do, muddily do,
Until we bust, bodily bust, bodily bust, bodily bust.  --Bokonon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]