From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: [PATCH 5/5] gnu: python-acme: Generate and install documentation. Date: Thu, 18 Feb 2016 20:36:44 +0100 Message-ID: <20160218193644.GB2185@solar> References: <482da9ee97c7605e078a3e089a6c475c72570a34.1455767577.git.leo@famulari.name> <20160218174650.GC29070@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWUNg-0004SW-IZ for guix-devel@gnu.org; Thu, 18 Feb 2016 14:36:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWUNd-0001jc-D1 for guix-devel@gnu.org; Thu, 18 Feb 2016 14:36:52 -0500 Received: from mailrelay2.public.one.com ([91.198.169.125]:42684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWUNd-0001j3-0S for guix-devel@gnu.org; Thu, 18 Feb 2016 14:36:49 -0500 Content-Disposition: inline In-Reply-To: <20160218174650.GC29070@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Leo Famulari Cc: guix-devel@gnu.org On Thu, Feb 18, 2016 at 12:46:50PM -0500, Leo Famulari wrote: > I didn't realize that copy-file's return value is unspecified. I've > found that it does tend to make the whole build fail when the source > file doesn't exist, so it must be returning #f in that case, right? Not necessarily. Many things with side-effects just fail with an error when there is a problem. So in many cases, the question of whether one needs to explicitly return #t in the end is mainly aesthetic. Andreas