From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.user Subject: Guile Introspection Date: Sat, 7 Jul 2007 08:40:17 -0700 (PDT) Message-ID: <266326.97925.qm@web37913.mail.mud.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1183822827 848 80.91.229.12 (7 Jul 2007 15:40:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 Jul 2007 15:40:27 +0000 (UTC) To: Gule User Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Jul 07 17:40:26 2007 connect(): Connection refused 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 1I7COY-0005zz-81 for guile-user@m.gmane.org; Sat, 07 Jul 2007 17:40:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I7COX-0008Hq-Je for guile-user@m.gmane.org; Sat, 07 Jul 2007 11:40:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I7COS-0008HP-Fc for guile-user@gnu.org; Sat, 07 Jul 2007 11:40:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I7COQ-0008H8-Sa for guile-user@gnu.org; Sat, 07 Jul 2007 11:40:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I7COQ-0008H3-O3 for guile-user@gnu.org; Sat, 07 Jul 2007 11:40:18 -0400 Original-Received: from web37913.mail.mud.yahoo.com ([209.191.91.175]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1I7COQ-0004Yq-Ak for guile-user@gnu.org; Sat, 07 Jul 2007 11:40:18 -0400 Original-Received: (qmail 98684 invoked by uid 60001); 7 Jul 2007 15:40:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=J0u0Vmouyi247vc6fnK9XPQYrKBNYji1HpQfND5VZBNobNG151ndLmVu8a99q78wWqiSdsfiDnDlYyAW7wKpT3xl2XMBw8IaomBnzbmxs+Wdo1ZJ8NstYFt1qr+1y1tVw24539IwVr1EamODU2YK3a+idU0t0ppfpCkFcQdeA9c=; X-YMail-OSG: EzD2UyIVM1mXT3RCck_8UbUsLaumcSXNmPr8O2ANpZMkRP3z3x8OvDygUwb128msPOpcNPJxxg-- Original-Received: from [76.80.200.209] by web37913.mail.mud.yahoo.com via HTTP; Sat, 07 Jul 2007 08:40:17 PDT X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (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:6025 Archived-At: Hi- Is it possible to get introspection information out of Guile (preferably without having to load GOOPS)? For example, how can I write a function that prints its own name? Or, what is the scheme version of the following C code printf("%s %d\n", __FILE__, __LINE__); Thanks in advance, Mike Gran _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user