guile-devel
[Top][All Lists]
Advanced

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

Re: srfi-9 record type checking


From: Ludovic Courtès
Subject: Re: srfi-9 record type checking
Date: Tue, 13 Jun 2006 09:26:59 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Hi,

Neil Jerram <address@hidden> writes:

> (define new-record-accessor record-accessor)
>
> (set! record-accessor
>   (lambda (type field)
>     (lambda (obj)
>       (and ((record-predicate type) obj)
>            ((new-record-accessor type field) obj)))))
>
> So on balance I don't think we need to provide complete compatibility
> within Guile here.

Right, I think you convinced me.  :-)

Thanks,
Ludovic.




reply via email to

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