From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [Patch 1/10] Add pjproject. Date: Sat, 05 Nov 2016 23:54:21 +0100 Message-ID: <87wpgh8rmq.fsf@elephly.net> References: <87mvjc1quq.fsf@openmailbox.org> <87inu01qsj.fsf@openmailbox.org> <87shswmj48.fsf@elephly.net> <87oa3j870k.fsf@openmailbox.org> <87bmzg8xe1.fsf@elephly.net> <87r387tb7l.fsf@openmailbox.org> <87zild8syw.fsf@elephly.net> <871syp1qzv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c39r8-0005DM-1V for guix-devel@gnu.org; Sat, 05 Nov 2016 18:54:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c39r4-0000xa-M9 for guix-devel@gnu.org; Sat, 05 Nov 2016 18:54:34 -0400 In-reply-to: <871syp1qzv.fsf@gnu.org> 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" To: Mathieu Lirzin Cc: guix-devel@gnu.org Mathieu Lirzin writes: > Hi, > > Ricardo Wurmus writes: > >> PS: for future reference, this >> >> (lambda (file) >> (if (or (string=? file ".") >> (string=? file "..")) >> #f >> #t)) >> >> could more concisely be written as >> >> (cute (not (or (string=? <> ".") >> (string=? <> "..")))) > > I think you mean something like this instead: > > (lambda (file) > (not (or (string=? file ".") > (string=? file "..")))) > > Did I miss something? No, *I* did :) I mixed up two things and didn’t check before sending. Thanks for the correction. ~~ Ricardo