unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
Cc: 34217@debbugs.gnu.org
Subject: [bug#34217] [PATCH 11/11] gnu: Add ruby-cucumber and ruby-aruba.
Date: Mon, 04 Feb 2019 00:26:59 +0100	[thread overview]
Message-ID: <87r2cowj0c.fsf@elephly.net> (raw)
In-Reply-To: <20190203231817.0a722915@alma-ubu>


Björn Höfling <bjoern.hoefling@bjoernhoefling.de> writes:

>> +    (propagated-inputs
>> +     (map (lambda (input)
>> +            (if (string=? (car input) "ruby-cucumber")
>> +                `("ruby-cucumber" ,ruby-cucumber-without-tests)
>> +                input))
>> +          (package-propagated-inputs ruby-aruba)))
>
> This is really nit-picking, I haven't tried it out myself and I haven't
> used it much myself, but I think this could be written more elegant with
> match-lambda [syntax errors might be included]:
>
>  (map (match-lambda
>        (("ruby-cucumber" . pkg)
>           `("ruby-cucumber" ,ruby-cucumber-without-tests))
> 	(input input)
> ...)

Or like this

    `(("ruby-cucumber" ,ruby-cucumber-without-tests)
      ,@(alist-delete "ruby-cucumber"
                      (package-propagated-inputs ruby-aruba)))

-- 
Ricardo

  reply	other threads:[~2019-02-04  3:14 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-27 11:06 [bug#34217] [PATCH 00/11] Add ruby-cucumber along with dependencies and a couple of updates Christopher Baines
2019-01-27 11:49 ` [bug#34217] [PATCH 01/11] gnu: Add ruby-cucumber-wire Christopher Baines
2019-01-27 11:49   ` [bug#34217] [PATCH 02/11] gnu: Add ruby-contracts Christopher Baines
2019-01-27 11:49   ` [bug#34217] [PATCH 03/11] gnu: Add ruby-ruby-progressbar Christopher Baines
2019-02-03 21:40     ` Björn Höfling
2019-02-08 18:58       ` Christopher Baines
2019-01-27 11:49   ` [bug#34217] [PATCH 04/11] gnu: Add ruby-fuubar Christopher Baines
2019-01-27 11:49   ` [bug#34217] [PATCH 05/11] gnu: Add ruby-cucumber-expressions Christopher Baines
2019-01-27 11:49   ` [bug#34217] [PATCH 06/11] gnu: Add ruby-mspec Christopher Baines
2019-01-27 11:49   ` [bug#34217] [PATCH 07/11] gnu: Add ruby-backports Christopher Baines
2019-01-31  8:53     ` swedebugia
2019-02-01 15:41       ` swedebugia
2019-02-08 19:10         ` Christopher Baines
2019-01-27 11:49   ` [bug#34217] [PATCH 08/11] gnu: Add ruby-cucumber-tag-expressions Christopher Baines
2019-01-27 11:49   ` [bug#34217] [PATCH 09/11] gnu: ruby-cucumber-core: Update to 3.2.1 Christopher Baines
2019-02-03 22:20     ` Björn Höfling
2019-02-08 18:48       ` Christopher Baines
2019-01-27 11:49   ` [bug#34217] [PATCH 10/11] gnu: ruby-gherkin: Update to 5.1.0 Christopher Baines
2019-01-27 11:49   ` [bug#34217] [PATCH 11/11] gnu: Add ruby-cucumber and ruby-aruba Christopher Baines
2019-01-29 21:44     ` swedebugia
2019-01-30 12:56       ` Ricardo Wurmus
2019-01-30 16:11         ` swedebugia
2019-01-30 16:22           ` swedebugia
2019-01-31  8:43             ` swedebugia
2019-02-08 18:46               ` Christopher Baines
2019-02-03 22:18     ` Björn Höfling
2019-02-03 23:26       ` Ricardo Wurmus [this message]
2019-02-08 17:19         ` Christopher Baines
2019-02-08 17:19       ` Christopher Baines
2019-02-08 19:02         ` Björn Höfling
2019-02-03 21:03   ` [bug#34217] [PATCH 01/11] gnu: Add ruby-cucumber-wire Björn Höfling
2019-02-08 19:05     ` Christopher Baines
2019-01-28  5:52 ` [bug#34217] [PATCH 00/11] Add ruby-cucumber along with dependencies and a couple of updates swedebugia
2019-02-03 22:21 ` Björn Höfling
2019-02-14 21:57 ` bug#34217: Ruby on Rails Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r2cowj0c.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=34217@debbugs.gnu.org \
    --cc=bjoern.hoefling@bjoernhoefling.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).