From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.lisp.guile.user Subject: Re: finding procedure definitions Date: Fri, 29 Feb 2008 14:35:58 -0500 Message-ID: <20303937.1204313758643.JavaMail.root@web40> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1204313776 9945 80.91.229.12 (29 Feb 2008 19:36:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Feb 2008 19:36:16 +0000 (UTC) Cc: guile-user@gnu.org To: walck@lvc.edu Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Feb 29 20:36:41 2008 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JVB29-00008W-1H for guile-user@m.gmane.org; Fri, 29 Feb 2008 20:36:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVB1c-0000xY-Ia for guile-user@m.gmane.org; Fri, 29 Feb 2008 14:36:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JVB1X-0000wP-MD for guile-user@gnu.org; Fri, 29 Feb 2008 14:36:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVB1V-0000wC-VY for guile-user@gnu.org; Fri, 29 Feb 2008 14:36:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVB1V-0000w8-QY for guile-user@gnu.org; Fri, 29 Feb 2008 14:36:01 -0500 Original-Received: from mta10.adelphia.net ([68.168.78.202]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JVB1V-0000ti-B8 for guile-user@gnu.org; Fri, 29 Feb 2008 14:36:01 -0500 Original-Received: from web40 ([68.168.75.147]) by mta10.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20080229193558.FYMB26616.mta10.adelphia.net@web40>; Fri, 29 Feb 2008 14:35:58 -0500 X-Priority: 3 (Normal) Sensitivity: Normal X-detected-kernel: by monty-python.gnu.org: Solaris 8 (2) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6429 Archived-At: ---- "Scott N. Walck" wrote: > Guile folks, > > Is there a way to ask for the definition of a procedure or to find the > source code for a procedure? Yes. > For example, "symbol" is a guile procedure. I can see that by typing > its name. > > guile> symbol > # > > But how can I find more information, such as its definition, including > what types of arguments it expects and what it does and returns? I > don't see symbol listed in the Guile Reference manual index. I'm not > sure where to look in the source code. $ guile guile> symbol # guile> (procedure-source symbol) (lambda args (string->symbol (apply string args))) guile> This only works for Scheme, not for primitives written in C. -Dale