guile-user
[Top][All Lists]
Advanced

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

Re: Using guile's introspection facilities


From: Neil Jerram
Subject: Re: Using guile's introspection facilities
Date: Tue, 06 Mar 2007 22:01:48 +0000
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Kevin Ryde <address@hidden> writes:

> Daniel Ridge <address@hidden> writes:
>>
>> SCM_DEFINE(guile_srcprops_p, "srcprops?", 1, 0, 0,
>
> I don't think that's meant to be visible, merely a compact form of
> what's normally prsented as an alist.

And in any case, your motivating code doesn't use this, does it?

>
>> (let* (
>>           (propl (hash-fold (lambda (k v p) (cons (srcprops-to-plist
>> v) p)) '() source-whash))
>
> I'm not sure if source-whash is actually meant to be used.  But if you
> do then I think `source-properties' can be called on each key in the
> hash to get info in alist form.

Agreed.  So I don't see a remaining argument for exposing these.

Regards,
     Neil





reply via email to

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