From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.devel Subject: Re: ADD type-of Date: Tue, 27 Dec 2011 14:25:54 +0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=20cf307cffa68e68cf04b50cf4d8 X-Trace: dough.gmane.org 1324967163 4373 80.91.229.12 (27 Dec 2011 06:26:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Dec 2011 06:26:03 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Dec 27 07:25:59 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RfQU2-0007jq-Ee for guile-devel@m.gmane.org; Tue, 27 Dec 2011 07:25:59 +0100 Original-Received: from localhost ([::1]:60249 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfQU1-0000QO-Us for guile-devel@m.gmane.org; Tue, 27 Dec 2011 01:25:57 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:49635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfQTz-0000Q6-KM for guile-devel@gnu.org; Tue, 27 Dec 2011 01:25:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RfQTy-0000is-Gm for guile-devel@gnu.org; Tue, 27 Dec 2011 01:25:55 -0500 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:46743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfQTy-0000io-DI for guile-devel@gnu.org; Tue, 27 Dec 2011 01:25:54 -0500 Original-Received: by vbbfn1 with SMTP id fn1so10560631vbb.0 for ; Mon, 26 Dec 2011 22:25:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Qx2+oLfkPNIi1bDSdDqngGJq+4pHLaxAFarp7HrFJBo=; b=J37FRdwCVZJp8uJLX/kiAnvK8Ol5bh0ELYzYMI4pKir6wq4A3lUW1j0Bhlzhal5585 /mySN3dv3BvSnFJOG1mz0koVWhieKmEuL/xKjPM4UDQ35UAubBqrThu1NlGpDtnWoOZb UPrwbu9i+A/u31TLynTYVsl+8FRiWkDbVK9ag= Original-Received: by 10.52.26.14 with SMTP id h14mr12988185vdg.132.1324967154051; Mon, 26 Dec 2011 22:25:54 -0800 (PST) Original-Received: by 10.52.183.194 with HTTP; Mon, 26 Dec 2011 22:25:54 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.41 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:13188 Archived-At: --20cf307cffa68e68cf04b50cf4d8 Content-Type: multipart/alternative; boundary=20cf307cffa68e68cb04b50cf4d6 --20cf307cffa68e68cb04b50cf4d6 Content-Type: text/plain; charset=UTF-8 Sorry, missed another one. On Tue, Dec 27, 2011 at 2:24 PM, Nala Ginrut wrote: > A newbie Guiler asked me if there's something like "typeof" as "type" in > Python or "typeof" in JS. > I can't remember there's such a thing. But I think it'll provide > some convenient for a newbie to learn Guile. > Here's my patch. > What you guys think? > --20cf307cffa68e68cb04b50cf4d6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sorry, missed another one.

On Tue, Dec 27= , 2011 at 2:24 PM, Nala Ginrut <nalaginrut@gmail.com> wrote:
A newbie Guiler asked me if there's something like "typeof" a= s "type" in Python or "typeof" in JS.
I can't r= emember there's such a thing. But I think it'll provide some=C2=A0c= onvenient=C2=A0for a newbie to learn Guile.
Here's my patch.
What you guys think?

--20cf307cffa68e68cb04b50cf4d6-- --20cf307cffa68e68cf04b50cf4d8 Content-Type: text/x-patch; charset=US-ASCII; name="0001-ADD-type-of-to-boot-9.scm.patch" Content-Disposition: attachment; filename="0001-ADD-type-of-to-boot-9.scm.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gwoj84ul1 RnJvbSA2MDc1YWQ0MTRiOGMxMWExNzY0N2JlZWY0NmQ5ZTJkYWQzZjNlMTEwIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOYWxhR2lucnV0IDxOYWxhR2lucnV0QGdtYWlsLmNvbT4KRGF0 ZTogVHVlLCAyNyBEZWMgMjAxMSAxNDoxODo0OSArMDgwMApTdWJqZWN0OiBbUEFUQ0ggMS8yXSBB REQgdHlwZS1vZiB0byBib290LTkuc2NtCgotLS0KIG1vZHVsZS9pY2UtOS9ib290LTkuc2NtIHwg ICAxMCArKysrKysrKysrCiAxIGZpbGVzIGNoYW5nZWQsIDEwIGluc2VydGlvbnMoKyksIDAgZGVs ZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvbW9kdWxlL2ljZS05L2Jvb3QtOS5zY20gYi9tb2R1bGUv aWNlLTkvYm9vdC05LnNjbQppbmRleCAwM2RhZDliLi40M2ZjZTFjIDEwMDY0NAotLS0gYS9tb2R1 bGUvaWNlLTkvYm9vdC05LnNjbQorKysgYi9tb2R1bGUvaWNlLTkvYm9vdC05LnNjbQpAQCAtMzg1 MSw0ICszODUxLDE0IEBAIG1vZHVsZSAnKGljZS05IHEpICcobWFrZS1xIHEtbGVuZ3RoKSl9LiIK IDs7IGAtV3VudXNlZC10b3BsZXZlbCcgd2FybmluZyB3b3JrcyBhcyBleHBlY3RlZC4KIChldm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