From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.user Subject: Re: Determining programatically whether the interpreter is Guile or Clisp or Emcs Date: Sat, 07 Sep 2013 11:31:53 +0200 Message-ID: <87eh91x9iu.fsf@pobox.com> References: <23837d79-03e3-4792-a4b7-e3a6c96ed390@email.android.com> <1375086985.8252.2.camel@Renee-desktop.suse> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1378546349 10551 80.91.229.3 (7 Sep 2013 09:32:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Sep 2013 09:32:29 +0000 (UTC) Cc: =?utf-8?B?55m944GE54aK?= , guile-user@gnu.org To: Nala Ginrut Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Sep 07 11:32:33 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VIEsa-0005nQ-9P for guile-user@m.gmane.org; Sat, 07 Sep 2013 11:32:32 +0200 Original-Received: from localhost ([::1]:41291 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIEsZ-0003US-Ts for guile-user@m.gmane.org; Sat, 07 Sep 2013 05:32:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIEsM-0003TI-9H for guile-user@gnu.org; Sat, 07 Sep 2013 05:32:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIEsH-0001aZ-4q for guile-user@gnu.org; Sat, 07 Sep 2013 05:32:18 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:39293 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIEsH-0001aV-0Z for guile-user@gnu.org; Sat, 07 Sep 2013 05:32:13 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id B6184EF75; Sat, 7 Sep 2013 05:32:12 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=uKcDHoZ+QQZiqg6fcB4e6vsGueQ=; b=tDUyzx 2xF2f47cNpNbs/wPmq9edH81WkCmTd1RlKlvGrPVWBZTnYLPAaOyYAS4mydQRJ3W xyo0npevMeUfpmSzmMutmCUM2KlD+ug/hLl1rq5izBk5x8rs0WdSM8yh9Lt/VDQw b9ocvUIPDjaeHirbd0oa3GfvT5L/gmX2upwQ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=faZxjJhAUcBN1Kt7ku4xAXUjRv6KML84 /iq5AwF8Y8ow4FnePQYMBHtkxpQjQpkXfqyMH0Gss/HFR3Mpq60qVYKJLvpFC8WR +SwyI3zsCDlsSNsaFZAmSaxHM+ABwx4myikT4IinU+Mi8ZLhywZXG4WffZLT3yx+ SPM8LFPRd8M= Original-Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 9E2AAEF74; Sat, 7 Sep 2013 05:32:12 -0400 (EDT) Original-Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 21935EF71; Sat, 7 Sep 2013 05:31:56 -0400 (EDT) In-Reply-To: <1375086985.8252.2.camel@Renee-desktop.suse> (Nala Ginrut's message of "Mon, 29 Jul 2013 16:36:25 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Pobox-Relay-ID: 56606100-17A0-11E3-83C2-CE710E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 208.72.237.25 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10763 Archived-At: On Mon 29 Jul 2013 10:36, Nala Ginrut writes: > If you just want to check whether a symbol was defined, try: > (module-defined? (current-module) 'function-lambda-expression) Alternate spelling: (defined? 'foo) Andy -- http://wingolog.org/