chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Error with clang/FreeBSD


From: Felix
Subject: Re: [Chicken-users] Error with clang/FreeBSD
Date: Fri, 15 Feb 2013 11:22:18 +0100 (CET)

> Unconnected to the above, I'll mention there appears to be a (very) small 
> error in types.db that's been hanging on for quite a while.  The declaration 
> for "join" is:
> (join (#(procedure #:clean #:enforce) join (list list) list))
> 
> When compiling  (join r) ...  where r is a list of lists --
>   Warning: in toplevel procedure `prints-util#qry-subdirs':
>     (prints-util.scm:118) in procedure call to `join', expected 2 arguments, 
> but was given 1
>   argument
> 
> Since the second list specifier is optional (defaulting to '()), perhaps it 
> should be:
> (join (#(procedure #:clean #:enforce) join (list #!optional list) list))

Thanks - this is indeed the case. I changed this to:

(join (#(procedure #:clean #:enforce) join ((list-of list) #!optional list) 
list))


cheers,
felix



reply via email to

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