This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


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

Re: Inconsistant Results


Hello Mikael!

> Until then, using
> 
>   (define-module (my-module)
>     :use-syntax (ice-9 syncase))
> 
> will detect this kind of problems.

I tried this, but it does not solve the problem:

guile> (define-module (my-module)
...     :use-syntax (ice-9 syncase))
#<directory (my-module) 42b00>
guile> (define (f a b c) (a b c))
guile> (procedure-source f)
(lambda (a b c) (a b c))
guile> (f and #f #f)
#f
guile> (procedure-source f)
(lambda (a b c) (and b c))

What am I doing wrong here?

Best regards
Dirk


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