all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Aurélien Aptel" <aurelien.aptel@gmail.com>
To: kaushal.modi@gmail.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: [modules] Possible return values of the env->type_of?
Date: Fri, 22 Jun 2018 10:38:34 -0700	[thread overview]
Message-ID: <CA+5B0FMxurn6mXCTEe3MVSocyOQ+gGnH1ou+-YD_inSZSQH68w@mail.gmail.com> (raw)
In-Reply-To: <CAFyQvY2coP24Od7Kvop_67JPNzRDtkAfAUCX4sxbnjapFYpzTw@mail.gmail.com>

Le ven. 22 juin 2018 à 07:41, Kaushal Modi <kaushal.modi@gmail.com> a écrit :
> I am playing with Nim Emacs Modules[1], and interestingly the symbol returned 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



  parent reply	other threads:[~2018-06-22 17:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-22 14:41 [modules] Possible return values of the env->type_of? Kaushal Modi
2018-06-22 17:10 ` Kaushal Modi
2018-06-22 17:38 ` Aurélien Aptel [this message]
2018-06-22 17:52   ` Kaushal Modi
2018-06-22 18:16     ` Eli Zaretskii
2018-12-25 16:13     ` Philipp Stephani
2018-06-22 20:58   ` Drew Adams
2018-06-22 18:10 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+5B0FMxurn6mXCTEe3MVSocyOQ+gGnH1ou+-YD_inSZSQH68w@mail.gmail.com \
    --to=aurelien.aptel@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=kaushal.modi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.