From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stephen Compall Newsgroups: gmane.lisp.guile.user Subject: Re: Problem with (eq? ...) and Serveez Date: 28 Jan 2004 12:58:56 -0600 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1075316970 26271 80.91.224.253 (28 Jan 2004 19:09:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2004 19:09:30 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Jan 28 20:08:58 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Alv3Z-0002gA-00 for ; Wed, 28 Jan 2004 20:08:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Alv3H-0003Un-Q3 for guile-user@m.gmane.org; Wed, 28 Jan 2004 14:08:39 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Alv2g-0003UQ-8f for guile-user@gnu.org; Wed, 28 Jan 2004 14:08:02 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Alv2A-0003Ls-5t for guile-user@gnu.org; Wed, 28 Jan 2004 14:08:01 -0500 Original-Received: from [192.195.228.35] (helo=csserver.evansville.edu) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1Alv29-0003KT-D5 for guile-user@gnu.org; Wed, 28 Jan 2004 14:07:29 -0500 Original-Received: from csserver.evansville.edu (localhost.localdomain [127.0.0.1]) by csserver.evansville.edu (8.12.8/8.12.8) with ESMTP id i0SIwulQ011520; Wed, 28 Jan 2004 12:58:57 -0600 Original-Received: (from sc87@localhost) by csserver.evansville.edu (8.12.8/8.12.8/Submit) id i0SIwuLH011516; Wed, 28 Jan 2004 12:58:56 -0600 X-Authentication-Warning: csserver.evansville.edu: sc87 set sender to s11@member.fsf.org using -f Original-To: Roland Besserer, In-Reply-To: Original-Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:2741 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:2741 Stephen Compall writes: > SCM > guile_socket_equalp (SCM self_scm, SCM other_scm) > { > return SCM_SMOB_DATA (self_scm) == SCM_SMOB_DATA (other_scm); > } Well, you'd have to convert that C boolean to SCM, duh. return (SCM_SMOB_DATA (self_scm) == SCM_SMOB_DATA (other_scm)) ? SCM_BOOL_T : SCM_BOOL_F; -- Stephen Compall or s11 or sirian "...very few phenomena can pull someone out of Deep Hack Mode, with two noted exceptions: being struck by lightning, or worse, your *computer* being struck by lightning." (By Matt Welsh) global digicash CISU Europol USDOJ SCUD missile UOP militia cryptanalysis supercomputer Janet Reno Rand Corporation CIA INS Arnett _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user