all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Herbert Euler <herberteuler@hotmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: A question on wait_reading_process_output
Date: Thu, 29 May 2008 22:15:31 -0400	[thread overview]
Message-ID: <jwviqww8rnp.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <BAY143-W458C2EB9776A506D599F79DABE0@phx.gbl> (Herbert Euler's message of "Fri, 30 May 2008 09:27:55 +0800")

> +           got_some_input = total_nread> 0 ? 1 : 0;

Which, by the η-reduction rule, can be replaced advantageously by:

          got_some_input = total_nread > 0;


– Stefan




  reply	other threads:[~2008-05-30  2:15 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 [this message]
2008-05-30  3:09       ` Herbert Euler

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=jwviqww8rnp.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=herberteuler@hotmail.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.