guile-devel
[Top][All Lists]
Advanced

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

Re: Will guile support R7RS terminating "equal?" in the presence of cycl


From: Ludovic Courtès
Subject: Re: Will guile support R7RS terminating "equal?" in the presence of cycle?
Date: Mon, 03 Sep 2012 23:12:01 +0200
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Hi,

Stefan Israelsson Tampe <address@hidden> skribis:

>   (define (c-equal-1 x y)
>     (match x
>       (((and xx (_ . _)) . _)

[...]

>       ((xx . _)

[...]

>       (_ (equal? x y))))

Doesn’t this mean that ‘cycle-equal?’ falls back to ‘equal?’ for
non-pairs?

Ludo’.



reply via email to

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