From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Aur=C3=A9lien_Aptel?= Newsgroups: gmane.emacs.help Subject: Re: [modules] Possible return values of the env->type_of? Date: Fri, 22 Jun 2018 10:38:34 -0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1529690659 684 195.159.176.226 (22 Jun 2018 18:04:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 22 Jun 2018 18:04:19 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: kaushal.modi@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 22 20:04:14 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWQPu-0008Ul-Hn for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jun 2018 20:04:14 +0200 Original-Received: from localhost ([::1]:35528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWQS1-0000C4-Mc for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jun 2018 14:06:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWQ1I-0000zd-Ro for help-gnu-emacs@gnu.org; Fri, 22 Jun 2018 13:38:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWQ1H-0002UZ-V2 for help-gnu-emacs@gnu.org; Fri, 22 Jun 2018 13:38:48 -0400 Original-Received: from mail-pl0-x233.google.com ([2607:f8b0:400e:c01::233]:35010) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWQ1H-0002UL-P2 for help-gnu-emacs@gnu.org; Fri, 22 Jun 2018 13:38:47 -0400 Original-Received: by mail-pl0-x233.google.com with SMTP id k1-v6so3816538plt.2 for ; Fri, 22 Jun 2018 10:38:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=QufDqmE8WV52mdTBR4MR1fK6NKRZx+mo8ArJoX3ITGU=; b=easWJCGgX9YvYAa5zivFTd07OitMDxtdeKq1yRf/TMTUjQdCYFnP5oabAXCflECNTX gqcmF9MOqz3wLP9NcLF06rxwC9Buj/Ng/w9UMPVK84uFYVZARUcZWKnMN/R3dlsumcEM OQvC3u8EStcbCU88VbgH13rDcrooVRnvGawB4fHXYTHJGIKkX+4QVdcGuzG7ueKUPOll 3zigjDod5SohebTXRL1ao3s3MJcepQSZnQB50YhJ2t4mP6+hPqc1++xCo3rAPhsjUhl6 wH4evyW6mkJYF/OR2hFIlWgiFXnpy7jCynQf4iebsW4aIyFZamVnslYeoIh3zLh+XCIY SDog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=QufDqmE8WV52mdTBR4MR1fK6NKRZx+mo8ArJoX3ITGU=; b=nHGmckzPouY3eUp19+USiaTEM2sLVQln3h4x5pd+AI7UqkAl3FBbdLlwCdsEOepyHp IAWxQ3Rm3sYZy3DaHB3BoHnE5oKSrpxJ3DRdSYNrT9gdKS88+5qwmUn4gy5xzfkk8hTW VKKaKy2RCasMmq65nwmR1XByAmw2xC1g2XsoW4qKS0Xqrc2RHXpakKqwguLlf15zNlNd WT1h4fJHR7IctOjinz/EWaSGbpWzbjXxGd73ra3Ouhslng+4Wp20kRRn6TyBLI2jwIlj h7dZHjakp9k7OKEIhL3YV9nUuJgRxlMMcKB2uQ73qDnSwZHBr5w8VsTt6weFlo6fg60n hR0A== X-Gm-Message-State: APt69E2noAYRUTWG4649JWhZ0jXjh1BjoCVymjV4/Admq2JAkIU5Jqic Q3d8AFwVKqNMYCIaUqY+dCAAls8KN4+cjwAEIiQ= X-Google-Smtp-Source: ADUXVKIm3xkvhi3U1dgA86wpHPuESd0FOlgYANlZuq9590PRXUTTdJA4cCZVuIdCZ+Ka3Eyt1R6Psq038zduXSBXHjE= X-Received: by 2002:a17:902:e093:: with SMTP id cb19-v6mr2649690plb.189.1529689126499; Fri, 22 Jun 2018 10:38:46 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::233 X-Mailman-Approved-At: Fri, 22 Jun 2018 14:05:52 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117255 Archived-At: Le ven. 22 juin 2018 =C3=A0 07:41, Kaushal Modi a = =C3=A9crit : > I am playing with Nim Emacs Modules[1], and interestingly the symbol retu= rned by type_of for lists is 'cons too. That's because lists are cons: (list 1 2 3) and (cons 1 (cons 2 (cons 3 nil))) eval to the same thing. Perhaps you'll find Philip's doc useful: https://phst.github.io/emacs-modules#type_of