* doc bug: object property `name'
@ 2006-02-13 20:37 Jon Wilson
2006-02-13 21:49 ` Marius Vollmer
2006-02-13 21:52 ` Kevin Ryde
0 siblings, 2 replies; 3+ messages in thread
From: Jon Wilson @ 2006-02-13 20:37 UTC (permalink / raw)
Hi all,
In the guile manual (at
"http://www.gnu.org/software/guile/docs/guile-ref/Object-Properties.html#Object%20Properties"),
in the second paragraph, we see
"For example, all procedures have a `name' property, which stores the
name of the variable in which the procedure was stored by a define
expression, or #f if the procedure wasn't created by that kind of expression."
But I can't find any way to get at that `name' property. Not that I need
to, I'm just curious. Does this name property exist? If so, how do we
access it? Either the phrase identifying it should be removed from the
manual, or it should be explained how it can be reached.
Regards,
Jon
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: doc bug: object property `name'
2006-02-13 20:37 doc bug: object property `name' Jon Wilson
@ 2006-02-13 21:49 ` Marius Vollmer
2006-02-13 21:52 ` Kevin Ryde
1 sibling, 0 replies; 3+ messages in thread
From: Marius Vollmer @ 2006-02-13 21:49 UTC (permalink / raw)
Cc: guile-user
Jon Wilson <j85wilson@fastmail.fm> writes:
> Hi all,
> In the guile manual (at
> "http://www.gnu.org/software/guile/docs/guile-ref/Object-Properties.html#Object%20Properties"),
> in the second paragraph, we see
>
> "For example, all procedures have a `name' property, which stores
> the name of the variable in which the procedure was stored by a
> define expression, or #f if the procedure wasn't created by that
> kind of expression."
>
> But I can't find any way to get at that `name' property.
Right. I removed that confusing paragraph. (In CVS, but not on the
web. Anybody? :-)
> Not that I need to, I'm just curious. Does this name property
> exist? If so, how do we access it?
You can get it with 'procedure-property' but not with the procedures
described in the section where you found the paragraph.
guile> (procedure-property load 'name)
load-module
We could clean up our many property interfaces...
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: doc bug: object property `name'
2006-02-13 20:37 doc bug: object property `name' Jon Wilson
2006-02-13 21:49 ` Marius Vollmer
@ 2006-02-13 21:52 ` Kevin Ryde
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Ryde @ 2006-02-13 21:52 UTC (permalink / raw)
Cc: guile-user
Jon Wilson <j85wilson@fastmail.fm> writes:
>
> But I can't find any way to get at that `name' property. Not that I
> need to, I'm just curious.
`procedure-name', which is separate from those object property bits.
> the phrase identifying it should be removed from the manual,
Thanks, I'll do that.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-02-13 21:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-13 20:37 doc bug: object property `name' Jon Wilson
2006-02-13 21:49 ` Marius Vollmer
2006-02-13 21:52 ` Kevin Ryde
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).