guix-devel
[Top][All Lists]
Advanced

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

Re: [Patch 1/10] Add pjproject.


From: Mathieu Lirzin
Subject: Re: [Patch 1/10] Add pjproject.
Date: Sat, 05 Nov 2016 23:49:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi,

Ricardo Wurmus <address@hidden> 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?

-- 
Mathieu Lirzin



reply via email to

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