zsh-workers
 help / color / mirror / code / Atom feed
From: "Jérémie Roquet" <arkanosis@gmail.com>
To: "Zsh Hackers' List" <zsh-workers@zsh.org>
Subject: Re: PATCH: (provisional) underscores in constants in numeric evaluation
Date: Thu, 30 Aug 2012 16:18:23 +0200	[thread overview]
Message-ID: <CAFOazAMNgLuTCY2thrtO=NMPJTihLkZDeoOgAFnnoN=eB1PStA@mail.gmail.com> (raw)
In-Reply-To: <20120830151124.47ed724f@pwslap01u.europe.root.pri>

Hi,

2012/8/30 Peter Stephenson <Peter.Stephenson@csr.com>:
> Some scripting languages allow dummy "_"s in numeric constants so you
> can count the decimal places.  This is very convenient if you're doing
> arithmetic with large integers.

Cannot say if the patch is safe or not, but I'd really enjoy this
feature (which is also available in D, btw).

Thanks!

-- 
Jérémie


  reply	other threads:[~2012-08-30 14:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-30 14:11 Peter Stephenson
2012-08-30 14:18 ` Jérémie Roquet [this message]
2012-09-03 11:40 ` Peter Stephenson
2012-09-11 16:08 ` Peter Stephenson

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='CAFOazAMNgLuTCY2thrtO=NMPJTihLkZDeoOgAFnnoN=eB1PStA@mail.gmail.com' \
    --to=arkanosis@gmail.com \
    --cc=zsh-workers@zsh.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).