From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Mikael Djurfeldt" Newsgroups: gmane.lisp.guile.devel Subject: Re: Removal of SCM_UNBOUND Date: Sun, 16 Apr 2006 00:03:01 +0200 Message-ID: <66e540fe0604151503l5d648f10p7e997ced73e37137@mail.gmail.com> References: <1145137262.8613.42.camel@localhost.localdomain> Reply-To: djurfeldt@nada.kth.se NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1145138609 19250 80.91.229.2 (15 Apr 2006 22:03:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 Apr 2006 22:03:29 +0000 (UTC) Cc: Mikael Djurfeldt , guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Apr 16 00:03:27 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FUsrO-0006UR-HE for guile-devel@m.gmane.org; Sun, 16 Apr 2006 00:03:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FUsrN-0003i5-PH for guile-devel@m.gmane.org; Sat, 15 Apr 2006 18:03:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FUsrI-0003hL-CF for guile-devel@gnu.org; Sat, 15 Apr 2006 18:03:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FUsrH-0003gt-33 for guile-devel@gnu.org; Sat, 15 Apr 2006 18:03:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FUsrG-0003gq-VL for guile-devel@gnu.org; Sat, 15 Apr 2006 18:03:11 -0400 Original-Received: from [64.233.166.179] (helo=pproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FUsrY-0006D6-Of for guile-devel@gnu.org; Sat, 15 Apr 2006 18:03:28 -0400 Original-Received: by pproxy.gmail.com with SMTP id c63so276340pyc for ; Sat, 15 Apr 2006 15:03:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=I/4nUxmZh405dWiz98xfLTtc0ycSoiioVUOoLJqqbCg0s4suuWijdO4P9f3hB01Me2y9bMe7ED+qm5Q74FHXv6xrQc/IUIXCpkN1hh86A6Bh07aSh6c2rBxKa7kGr7UuxQW7hcD4L3SqGwjUmCM5nbMkj4U+8wPrYGc9U5a7d8s= Original-Received: by 10.35.127.7 with SMTP id e7mr1645874pyn; Sat, 15 Apr 2006 15:03:01 -0700 (PDT) Original-Received: by 10.35.66.1 with HTTP; Sat, 15 Apr 2006 15:03:01 -0700 (PDT) Original-To: "Clinton Ebadi" In-Reply-To: <1145137262.8613.42.camel@localhost.localdomain> Content-Disposition: inline X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5860 Archived-At: On 4/15/06, Clinton Ebadi wrote: > guile> (use-modules (oop goops)) > guile> (define-class () (bar)) > guile> (define quux (make )) > guile> (slot-ref quux 'bar) > > Backtrace: > In current input: > 5: 0* [slot-ref #< a7cd00f0> bar] > > :5:1: In procedure slot-ref in expression (slot-ref quux > (quote bar)): > :5:1: Slot `bar' is unbound in object #< a7cd00f0> > ABORT: (goops-error) > guile> (slot-set! quux 'bar 5) > guile> (slot-ref quux 'bar) > 5 > > Is there anything I am missing (define x (if #f #f)) (slot-set! quux 'bar x) _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel