From: "Drew Adams" <drew.adams@oracle.com>
To: "'Mike Mattie'" <codermattie@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: is there an existing negate function ?
Date: Mon, 9 Mar 2009 23:36:54 -0700 [thread overview]
Message-ID: <005701c9a14a$9a8614a0$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <20090309233840.GA8194@reforged>
> is there an existing negate function ? something like this
> that I have no found ?
>
> (defun negate ( value )
> "negate VALUE - Invert the boolean sense of VALUE
> 0 -> 1
> 1 -> 0"
> (if value nil t))
I'll bite. ;-)
Is `not' (aka `null') what you mean?
(not nil) -> t
(not 'non-nil) -> nil
prev parent reply other threads:[~2009-03-10 6:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-09 23:38 is there an existing negate function ? Mike Mattie
2009-03-10 0:22 ` Juanma Barranquero
2009-03-10 6:36 ` Drew Adams [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='005701c9a14a$9a8614a0$0200a8c0@us.oracle.com' \
--to=drew.adams@oracle.com \
--cc=codermattie@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).