unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: ludo@gnu.org (Ludovic Courtès)
Cc: guile-devel@gnu.org
Subject: Re: srfe records in reworked match
Date: Thu, 22 Apr 2010 14:52:39 +0200	[thread overview]
Message-ID: <m3d3xr7ip4.fsf@pobox.com> (raw)
In-Reply-To: <87fx2n8yg8.fsf@gnu.org> ("Ludovic Courtès"'s message of "Thu, 22 Apr 2010 14:27:03 +0200")

Hi,

On Thu 22 Apr 2010 14:27, ludo@gnu.org (Ludovic Courtès) writes:

>> There would be no penalty making Guile's records interoperable with
>> SRFI-9 records.
>
> Currently Guile’s SRFI-9 accessors are “integratable” whereas record
> accessors aren’t.  IOW, until Guile has an inliner, there’d be a penalty
> making them interoperable.

Perhaps I didn't explain myself here. I would like to be able to take a
record, and ask what fields it has. I can do this with Guile records,
and I could do so with SRFI-9 records if the vtable were an instance of
record-type-vtable.

This would also allow SRFI-9 records to return #t for `record?'.

This does not affect SRFI-9 accessors at all; they can still be
integrable.

Andy
-- 
http://wingolog.org/




  reply	other threads:[~2010-04-22 12:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-20 13:14 srfe records in reworked match stefan
2010-04-21  8:40 ` Ludovic Courtès
     [not found]   ` <07487229-BEA5-49C8-B73F-83370F028513@spray.se>
2010-04-21 11:47     ` Ludovic Courtès
2010-04-22 11:13   ` Andy Wingo
2010-04-22 12:27     ` Ludovic Courtès
2010-04-22 12:52       ` Andy Wingo [this message]
2010-04-22 12:57         ` Ludovic Courtès
2010-04-22 13:48           ` Andy Wingo
2010-04-22 17:09       ` stefan
2010-04-23  7:52   ` stefan
2010-04-23  9:23     ` Ludovic Courtès
2010-04-23 20:21   ` stefan
2010-04-28  8:40     ` Ludovic Courtès
     [not found] <CCF7F725-F332-40DE-8193-65FB81ADD08C@spray.se>
2010-04-28 13:50 ` Stefan
2010-05-03 12:38   ` Ludovic Courtès
2010-05-03 13:35     ` Stefan
2010-05-03 13:51       ` Ludovic Courtès
2010-05-03 16:24         ` stefan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3d3xr7ip4.fsf@pobox.com \
    --to=wingo@pobox.com \
    --cc=guile-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).