unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Ang.: Will guile support R7RS terminating "equal?" in the presence of cycle?
@ 2012-09-01 14:18 stefan.itampe
  2012-09-01 17:26 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: stefan.itampe @ 2012-09-01 14:18 UTC (permalink / raw)
  To: ludo, guile-devel

[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]

Hi

1 I don't think the current equal? Will need to change, but
Another one that under rnr7 will be coded and used with the
Symbol equal? In that module. Hence no problems.

2 The guile hackers are able enough to implement it. In typed-guile there is an implementation that does unification on circular lists and
Also there is probably enough reference information to code this in due time.

Cheers!
Stefan

Skickat från min HTC

----- Reply message -----
Från: ludo@gnu.org (Ludovic Courtès
Till: <guile-devel@gnu.org>
Rubrik: Will guile support R7RS terminating "equal?" in the presence of cycle?
Datum: lör, sep 1, 2012 15:30


Hi,

"David A. Wheeler" <dwheeler@dwheeler.com> skribis:

> *However*, the current R7RS draft for "equal?" requires termination
> even in the presence of cycles, as well as impose other requirements
> on "write" and "display" in the presence of cycles.  Will guile
> support such changes?  I worry that these new requirements on "equal?"
> will have such a high overhead that people won't do it.  But perhaps
> those fear are misplaced.

Are you talking about termination in the case of circular lists, or for
arbitrary data structures?

The former is easy and reasonably cheap, but the latter may require more
work, indeed.

Thanks,
Ludo’.



[-- Attachment #2: Type: text/html, Size: 1519 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-09-02 14:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-01 14:18 Ang.: Will guile support R7RS terminating "equal?" in the presence of cycle? stefan.itampe
2012-09-01 17:26 ` Ludovic Courtès
2012-09-01 17:36   ` Stefan Israelsson Tampe
2012-09-01 17:53     ` Ludovic Courtès
2012-09-02 14:52   ` Ian Price

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).