From: Herbert Euler <herberteuler@hotmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: RE: A question on wait_reading_process_output
Date: Fri, 30 May 2008 11:09:51 +0800 [thread overview]
Message-ID: <BAY143-W25B678D7DAADBEEB8C1E9ADABE0@phx.gbl> (raw)
In-Reply-To: <jwviqww8rnp.fsf-monnier+emacs@gnu.org>
>> + got_some_input = total_nread> 0 ? 1 : 0;
>
> Which, by the η-reduction rule, can be replaced advantageously by:
>
> got_some_input = total_nread> 0;
Thanks, it is surely better :)
Regards,
Guanpeng Xu
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
prev parent reply other threads:[~2008-05-30 3:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-28 3:39 A question on wait_reading_process_output Herbert Euler
2008-05-29 14:57 ` Stefan Monnier
2008-05-30 1:27 ` Herbert Euler
2008-05-30 2:15 ` Stefan Monnier
2008-05-30 3:09 ` Herbert Euler [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BAY143-W25B678D7DAADBEEB8C1E9ADABE0@phx.gbl \
--to=herberteuler@hotmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.