unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "Thompson, David" <dthompson2@worcester.edu>
To: richard@rshann.plus.com
Cc: Guile User <guile-user@gnu.org>
Subject: Re: negating a number
Date: Wed, 15 Jan 2014 13:34:54 -0500	[thread overview]
Message-ID: <CAJ=RwfZnRTJ0dFr8L8C1HHv6EscqZHA83isodO2a7KEU73Bd2w@mail.gmail.com> (raw)
In-Reply-To: <1389810289.3409.158.camel@DebianBox.loc>

On Wed, Jan 15, 2014 at 1:24 PM, Richard Shann <richard@rshann.plus.com> wrote:
> Is there something neater than
>
> (- 0 amount)
>
> to negate a number? Can't spot anything in the manual ...
>
> Richard Shann

It reads better if you leave out the 0.

(- amount)

:)

- Dave Thompson



      parent reply	other threads:[~2014-01-15 18:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-15 18:24 negating a number Richard Shann
2014-01-15 18:30 ` Mark H Weaver
2014-01-15 18:37   ` Richard Shann
2014-01-15 18:34 ` Thompson, David [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/guile/

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

  git send-email \
    --in-reply-to='CAJ=RwfZnRTJ0dFr8L8C1HHv6EscqZHA83isodO2a7KEU73Bd2w@mail.gmail.com' \
    --to=dthompson2@worcester.edu \
    --cc=guile-user@gnu.org \
    --cc=richard@rshann.plus.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.
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).