From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Xu Newsgroups: gmane.lisp.guile.user Subject: namespace of goops module Date: Wed, 15 Feb 2006 01:14:01 +0800 Organization: the Church of Emacs Message-ID: <87bqx9n9ra.fsf@www.williamxu.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139950711 15170 80.91.229.2 (14 Feb 2006 20:58:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Feb 2006 20:58:31 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Feb 14 21:58:28 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F97Fg-0005ZC-Hs for guile-user@m.gmane.org; Tue, 14 Feb 2006 21:58:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F97Ff-00030Z-Uj for guile-user@m.gmane.org; Tue, 14 Feb 2006 15:58:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F93wH-0005QM-IM for guile-user@gnu.org; Tue, 14 Feb 2006 12:26:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F93kM-0000YE-26 for guile-user@gnu.org; Tue, 14 Feb 2006 12:16:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F93jj-0000C6-OD for guile-user@gnu.org; Tue, 14 Feb 2006 12:13:12 -0500 Original-Received: from [59.66.131.181] (helo=www.williamxu.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F93oR-0004Cr-7W for guile-user@gnu.org; Tue, 14 Feb 2006 12:18:03 -0500 Original-Received: from www.williamxu.com ([127.0.0.1]) by www.williamxu.com with esmtp (Exim 3.36 #1 (Debian)) id 1F93kX-0004NA-00 for ; Wed, 15 Feb 2006 01:14:01 +0800 Original-To: guile-user@gnu.org User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) 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:5156 Archived-At: Hi people there, I try to learn GOOP today. As i don't want to mess with name conficts, i decided to add a prefix while using any modules. Thus to load GOOPS, guile> (use-modules ((oop goops) :renamer (symbol-prefix-proc 'oop/goops:))) This seems okay. While, when i try the first example in GOOPS Info, guile> (oop/goops:define-method (+ (x ) (y )) (string-append x y)) : In expression (add-method! + (method # #)): : Unbound variable: add-method! ABORT: (unbound-variable) Type "(backtrace)" to get more information or "(debug)" to enter the debugger. guile> Seems i can't add a renamer for goops module, but make it available on top-level? While, GOOPS is not built in guile, is it? So what's the point here? -- William _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user