summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-03-28 17:12:20 +0200
committerLudovic Courtès <ludo@gnu.org>2017-03-28 22:15:44 +0200
commite1f02f92e90dac57431c3a0c557162fe1d5e9192 (patch)
tree85a302a19964e4070e90684bf7828034dadd7a9d /gnu
parent23b9168dcdb0bdd47f74a81dc9653e1e05142a14 (diff)
downloadpatches-e1f02f92e90dac57431c3a0c557162fe1d5e9192.tar
patches-e1f02f92e90dac57431c3a0c557162fe1d5e9192.tar.gz
Replace (compose not PROC) with simpler idioms.
* gnu/packages/bioinformatics.scm (python-pysam)[arguments] <check>: Use (negate proc) instead of (compose not proc). * guix/import/cran.scm (recursive-import): Likewise. * guix/import/elpa.scm (filter-dependencies): Use 'remove' instead of '(filter (compose not proc) ...)'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bioinformatics.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 232c7db838..477ad60f71 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1454,7 +1454,7 @@ multiple sequence alignments.")
(getenv "PYTHONPATH")
":" (getcwd) "/build/"
(car (scandir "build"
- (compose not (cut string-prefix? "." <>))))))
+ (negate (cut string-prefix? "." <>))))))
;; Step out of source dir so python does not import from CWD.
(with-directory-excursion "tests"
(setenv "HOME" "/tmp")