emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question on wait_reading_process_output


From: Stefan Monnier
Subject: Re: A question on wait_reading_process_output
Date: Thu, 29 May 2008 22:15:31 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> +           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 via email to

[Prev in Thread] Current Thread [Next in Thread]